Author: trasz
Date: Fri Mar 29 16:05:30 2019
New Revision: 345697
URL: https://svnweb.freebsd.org/changeset/base/345697
Log:
Reduce the precision of "MB/s" by one, making room for displaying
transfer rates larger 99MB/s.
MFC after: 2 weeks
Modified:
head/usr.sbin/iostat/iostat.c
Modified: head/usr.sbin/iostat/iostat.c
==============================================================================
--- head/usr.sbin/iostat/iostat.c Fri Mar 29 15:57:08 2019
(r345696)
+++ head/usr.sbin/iostat/iostat.c Fri Mar 29 16:05:30 2019
(r345697)
@@ -945,7 +945,7 @@ devstats(int perf_select, long double etime, int havel
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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"