From 4d3d05996a8acfccc66c7dee1f30efde4d60b47b Mon Sep 17 00:00:00 2001 From: Sebastien Godard Date: Tue, 30 Nov 2010 21:28:35 +0100 Subject: [PATCH] pidstat: Code cleaned. A comment in pidstat.c (get_pid_to_display()function) still refered to option -X, although this option no longer exists as it was merged with option -C. --- pidstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pidstat.c b/pidstat.c index 92ffc9a..6519121 100644 --- a/pidstat.c +++ b/pidstat.c @@ -881,8 +881,8 @@ void read_stats(int curr) *************************************************************************** * Get current PID to display. * First, check that PID exists. *Then* check that it's an active process - * and/or that the string (entered on the command line with options -C or - * -X) is found in command name. + * and/or that the string (entered on the command line with option -C) + * is found in command name. * * IN: * @prev Index in array where stats used as reference are. @@ -1199,7 +1199,7 @@ int write_pid_task_all_stats(int prev, int curr, int dis, /* *************************************************************************** - * Display all statistics for tasks' children in one line format + * Display all statistics for tasks' children in one line format. * * IN: * @prev Index in array where stats used as reference are. -- 2.40.0