Skip to content

Commit

Permalink
vmstat: fix column names broken in c168508
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
Maxim Sobolev authored and Maxim Sobolev committed Dec 5, 2023
1 parent 5faaa60 commit 62d47a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.bin/vmstat/vmstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,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");
Expand Down

0 comments on commit 62d47a4

Please sign in to comment.