Skip to content

Commit 62d47a4

Browse files
Maxim SobolevMaxim Sobolev
Maxim Sobolev
authored and
Maxim Sobolev
committed
vmstat: fix column names broken in c168508
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".
1 parent 5faaa60 commit 62d47a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr.bin/vmstat/vmstat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ domemstat_zone(void)
14811481
}
14821482
}
14831483
xo_open_container("memory-zone-statistics");
1484-
xo_emit("{T:/%-20s} {T:/%6s} {T:/%6s} {T:/%8s} {T:/%8s} {T:/%8s} {T:/%8s}"
1484+
xo_emit("{T:/%-20s} {T:/%6s} {T:/%6s} {T:/%8s} {T:/%8s} {T:/%8s} {T:/%8s} "
14851485
"{T:/%4s} {T:/%4s}\n", "ITEM", "SIZE",
14861486
"LIMIT", "USED", "FREE", "REQ", "FAIL", "SLEEP", "XDOMAIN");
14871487
xo_open_list("zone");

0 commit comments

Comments
 (0)