Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:05:59 -0000
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345697 - head/usr.sbin/iostat
Message-ID:  <201903291605.x2TG5UwL002374@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903291605.x2TG5UwL002374>