]> granicus.if.org Git - sysstat/commitdiff
pidstat: Code cleaned.
authorSebastien Godard <sysstat@orange.fr>
Tue, 30 Nov 2010 20:28:35 +0000 (21:28 +0100)
committerSebastien Godard <sysstat@orange.fr>
Tue, 30 Nov 2010 20:28:35 +0000 (21:28 +0100)
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

index 92ffc9ac6cbd593b0479a02db446b1b9ac7d456a..65191214859562289c13c442b688f53ed8beef05 100644 (file)
--- 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.