git: 11dd4e797e5f - stable/14 - vmstat: Fix column header alignment in -o output

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 20 Oct 2024 00:29:16 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=11dd4e797e5f10d497f509d562e1b5b6c0462b06

commit 11dd4e797e5f10d497f509d562e1b5b6c0462b06
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-13 14:26:47 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-20 00:29:04 +0000

    vmstat: Fix column header alignment in -o output
    
    MFC after:      1 week
    
    (cherry picked from commit 610fcb06ff0c972434f0b4b7a08947c038dd951e)
---
 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 ecffdc894e2e..0fee2395071f 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1573,7 +1573,7 @@ doobjstat(void)
 		return;
 	}
 	xo_emit("{T:RES/%5s} {T:ACT/%5s} {T:INACT/%5s} {T:REF/%3s} {T:SHD/%3s} "
-	    "{T:CM/%3s} {T:TP/%2s} {T:PATH/%s}\n");
+	    "{T:CM/%2s} {T:TP/%3s} {T:PATH/%s}\n");
 	xo_open_list("object");
 	for (i = 0; i < cnt; i++)
 		display_object(&kvo[i]);