Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2023 01:48:38 GMT
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4d4b3a342677 - stable/13 - vmstat: fix column names broken in c168508655720
Message-ID:  <202312050148.3B51mc6s031672@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by sobomax:

URL: https://cgit.FreeBSD.org/src/commit/?id=4d4b3a34267787a03f03125fc01532ff2f8539d1

commit 4d4b3a34267787a03f03125fc01532ff2f8539d1
Author:     Maxim Sobolev <sobomax@FreeBSD.org>
AuthorDate: 2023-12-05 01:39:21 +0000
Commit:     Maxim Sobolev <sobomax@FreeBSD.org>
CommitDate: 2023-12-05 01:48:21 +0000

    vmstat: fix column names broken in c168508655720
    
    Loss of the trailing space in the multi-line format string has
    resulted in column name being emitted as "FAILSLEEP", instead of
    two columns "FAIL" and "SLEEP".
    
    (cherry picked from commit 62d47a4db4579315d7b89002d7de696b44ae1415)
---
 usr.bin/vmstat/vmstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 50a31dc287f7..bb465eda4966 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1488,7 +1488,7 @@ domemstat_zone(void)
 		}
 	}
 	xo_open_container("memory-zone-statistics");
-	xo_emit("{T:/%-20s} {T:/%6s} {T:/%6s} {T:/%8s} {T:/%8s} {T:/%8s} {T:/%8s}"
+	xo_emit("{T:/%-20s} {T:/%6s} {T:/%6s} {T:/%8s} {T:/%8s} {T:/%8s} {T:/%8s} "
 	    "{T:/%4s} {T:/%4s}\n", "ITEM", "SIZE",
 	    "LIMIT", "USED", "FREE", "REQ", "FAIL", "SLEEP", "XDOMAIN");
 	xo_open_list("zone");



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