]> granicus.if.org Git - sysstat/commitdiff
Cosmetic fixes
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 14 Sep 2016 14:05:41 +0000 (16:05 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 14 Sep 2016 14:05:41 +0000 (16:05 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
iostat.c
mpstat.c

index 1b7602c3929610fe317815478b178698eb02004f..c1a099719ded6f5f7f371ada27697c2ed7a33ca6 100644 (file)
--- a/iostat.c
+++ b/iostat.c
@@ -879,7 +879,7 @@ void write_plain_cpu_stat(int curr, unsigned long long itv)
  * Display CPU utilization in JSON format.
  *
  * IN:
- * @tab                Number of tabs to print (JSON format only).
+ * @tab                Number of tabs to print.
  * @curr       Index in array for current sample statistics.
  * @itv                Interval of time.
  ***************************************************************************
@@ -1039,7 +1039,7 @@ void write_plain_ext_stat(unsigned long long itv, int fctr,
  * in JSON format.
  *
  * IN:
- * @tab                Number of tabs to print (JSON output only).
+ * @tab                Number of tabs to print.
  * @itv                Interval of time.
  * @fctr       Conversion factor.
  * @shi                Structures describing the devices and partitions.
@@ -1198,7 +1198,7 @@ void write_plain_basic_stat(unsigned long long itv, int fctr,
  * format.
  *
  * IN:
- * @tab                Number of tabs to print (JSON output only).
+ * @tab                Number of tabs to print.
  * @itv                Interval of time.
  * @fctr       Conversion factor.
  * @ioi                Current sample statistics.
index 2e134df7a033149d371a380b8dbcfc83a96520b6..ff7babe7cb3ae7260805d0712dbca469cdf0c41e 100644 (file)
--- a/mpstat.c
+++ b/mpstat.c
@@ -633,7 +633,7 @@ void write_plain_isumcpu_stats(int dis, unsigned long long itv, int prev, int cu
                                 * Value displayed is 0.00.
                                 */
                                printf("%-11s", curr_string);
-                               cprintf_in(IS_INT, " %4d", "", cpu- 1);
+                               cprintf_in(IS_INT, " %4d", "", cpu - 1);
                                cprintf_f(1, 9, 2, 0.0);
                                printf("\n");
                        }