From: Julien Desfossez Date: Thu, 21 Feb 2013 20:14:27 +0000 (-0500) Subject: Fix typo in pid_check X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=07bff97072a578f619afbb032264152c652d2bfe;p=lttngtop.git 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 afee5d8..3e556b9 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -872,7 +872,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) {