git: 610fcb06ff0c - main - vmstat: Fix column header alignment in -o output

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 13 Oct 2024 14:32:42 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=610fcb06ff0c972434f0b4b7a08947c038dd951e

commit 610fcb06ff0c972434f0b4b7a08947c038dd951e
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-13 14:26:47 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-13 14:32:33 +0000

    vmstat: Fix column header alignment in -o output
    
    MFC after:      1 week
---
 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 680eb8bc8fde..bd332c64e7ea 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1567,7 +1567,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]);