git: c3d7d7798218 - stable/14 - iostat: Restore lost spaces after tout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Nov 2023 00:34:27 UTC
The branch stable/14 has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=c3d7d77982180bef96e8c004360cda23cfe49675
commit c3d7d77982180bef96e8c004360cda23cfe49675
Author: Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2023-11-16 04:45:22 +0000
Commit: Alexander Motin <mav@FreeBSD.org>
CommitDate: 2023-11-25 00:34:19 +0000
iostat: Restore lost spaces after tout
MFC after: 2 weeks
(cherry picked from commit 3aebcb9ecba73805546b64f45e9a7ea2ba99ebb0)
---
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)