From: Sebastien Godard <sysstat@orange.fr>
Date: Tue, 30 Nov 2010 20:28:35 +0000 (+0100)
Subject: pidstat: Code cleaned.
X-Git-Tag: v9.1.7~7
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d3d05996a8acfccc66c7dee1f30efde4d60b47b;p=sysstat

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.
---

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.