From f322b7b058a42bab4cebef2ec103b2c175eb0cba Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Fri, 29 Mar 2019 16:05:30 +0000 Subject: [PATCH] Reduce the precision of "MB/s" by one, making room for displaying transfer rates larger 99MB/s. MFC after: 2 weeks --- usr.sbin/iostat/iostat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c index b4776ac3820..f98ba9228e4 100644 --- a/usr.sbin/iostat/iostat.c +++ b/usr.sbin/iostat/iostat.c @@ -945,7 +945,7 @@ devstats(int perf_select, long double etime, int havelast) ms_per_transaction); } else { if (Iflag == 0) - printf(" %4.1Lf %4.0Lf %5.2Lf ", + printf(" %4.1Lf %4.0Lf %5.1Lf ", kb_per_transfer, transfers_per_second, mb_per_second);