aboutsummaryrefslogtreecommitdiffstats
path: root/parse-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-events.c')
-rw-r--r--parse-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-events.c b/parse-events.c
index 3d4e10e..215d2f5 100644
--- a/parse-events.c
+++ b/parse-events.c
@@ -262,7 +262,7 @@ static int add_new_comm(struct pevent *pevent, char *comm, int pid)
262 cmdlines[pevent->cmdline_count].pid = pid; 262 cmdlines[pevent->cmdline_count].pid = pid;
263 cmdlines[pevent->cmdline_count].comm = comm; 263 cmdlines[pevent->cmdline_count].comm = comm;
264 if (cmdlines[pevent->cmdline_count].comm) 264 if (cmdlines[pevent->cmdline_count].comm)
265 pevent->cmdline_count++; 265 pevent->cmdline_count++;
266 266
267 qsort(cmdlines, pevent->cmdline_count, sizeof(*cmdlines), cmdline_cmp); 267 qsort(cmdlines, pevent->cmdline_count, sizeof(*cmdlines), cmdline_cmp);
268 pevent->cmdlines = cmdlines; 268 pevent->cmdlines = cmdlines;