From: Julien Desfossez Date: Thu, 21 Feb 2013 20:14:27 +0000 (-0500) Subject: Fix typo in pid_check X-Git-Tag: v0.3~122 X-Git-Url: http://git.liburcu.org/?p=lttngtop.git;a=commitdiff_plain;h=da401e9c85ea307f2837d9c80eba8636273d9232 Fix typo in pid_check Reported-by: Daniel Thibault Signed-off-by: Julien Desfossez --- 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) {