Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2023 04:46:23 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3aebcb9ecba7 - main - iostat: Restore lost spaces after tout
Message-ID:  <202311160446.3AG4kNW5033827@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=3aebcb9ecba73805546b64f45e9a7ea2ba99ebb0

commit 3aebcb9ecba73805546b64f45e9a7ea2ba99ebb0
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2023-11-16 04:45:22 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2023-11-16 04:45:22 +0000

    iostat: Restore lost spaces after tout
    
    MFC after:      2 weeks
---
 usr.sbin/iostat/iostat.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/iostat/iostat.c b/usr.sbin/iostat/iostat.c
index c6ba6aa8a7a2..ec18f4fd35b3 100644
--- a/usr.sbin/iostat/iostat.c
+++ b/usr.sbin/iostat/iostat.c
@@ -612,7 +612,7 @@ main(int argc, char **argv)
 		}
 
 		if (xflag == 0 && Tflag > 0)
-			printf("%4.0Lf %5.0Lf", cur.tk_nin / etime,
+			printf("%4.0Lf %5.0Lf ", cur.tk_nin / etime,
 			    cur.tk_nout / etime);
 
 		devstats(hflag, etime, havelast);
@@ -731,7 +731,7 @@ phdr(void)
 		return;
 
 	if (Tflag > 0)
-		(void)printf("       tty");
+		(void)printf("       tty ");
 	for (i = 0, printed=0;(i < num_devices) && (printed < maxshowdevs);i++){
 		int di;
 		if ((dev_select[i].selected != 0)
@@ -753,7 +753,7 @@ phdr(void)
 		(void)printf("\n");
 
 	if (Tflag > 0)
-		(void)printf(" tin  tout");
+		(void)printf(" tin  tout ");
 
 	for (i=0, printed = 0;(i < num_devices) && (printed < maxshowdevs);i++){
 		if ((dev_select[i].selected != 0)



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