From da401e9c85ea307f2837d9c80eba8636273d9232 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Thu, 21 Feb 2013 15:14:27 -0500 Subject: [PATCH] Fix typo in pid_check Reported-by: Daniel Thibault Signed-off-by: Julien Desfossez --- src/lttngtop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lttngtop.c b/src/lttngtop.c index 2ee303a..f78a865 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -544,7 +544,7 @@ static int check_field_requirements(const struct bt_ctf_field_decl *const * fiel (*tid_check)++; } if (*pid_check == 0) { - if (strncmp(name, "tid", 3) == 0) + if (strncmp(name, "pid", 3) == 0) (*pid_check)++; } if (*ppid_check == 0) { -- 2.34.1