From: Sebastien GODARD Date: Sun, 18 Nov 2018 10:38:41 +0000 (+0100) Subject: iostat: Remove extra line between two samples X-Git-Tag: v12.1.2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f402546d7286215163fcfc8d5f3df592db25669b;p=sysstat iostat: Remove extra line between two samples Signed-off-by: Sebastien GODARD --- diff --git a/iostat.c b/iostat.c index 537deb1..e0bc348 100644 --- a/iostat.c +++ b/iostat.c @@ -1774,7 +1774,7 @@ void write_stats(int curr, struct tm *rectime) } } } - if (h) { + if ((h > 0) && (h < hh)) { printf("\n"); } }