From cf64b0c86d508e7cf57ab1dd1b248b219936be29 Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Wed, 14 Sep 2016 16:05:41 +0200 Subject: [PATCH] Cosmetic fixes Signed-off-by: Sebastien GODARD --- iostat.c | 6 +++--- mpstat.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iostat.c b/iostat.c index 1b7602c..c1a0997 100644 --- 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. diff --git a/mpstat.c b/mpstat.c index 2e134df..ff7babe 100644 --- 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"); } -- 2.40.0