diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-11-09 00:05:45 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-11-09 00:05:45 +0000 |
commit | b54ed68408082bf0890e8d61d593f3180cb0d4b8 (patch) | |
tree | 2b837f187c148b8e571b2d547620fa9da944ca73 /usr.bin | |
parent | 523d66730c861d517ce39724b850556acded784d (diff) | |
download | src-test2-b54ed68408082bf0890e8d61d593f3180cb0d4b8.tar.gz src-test2-b54ed68408082bf0890e8d61d593f3180cb0d4b8.zip |
vmstat: remove spurious newlines when reporting zones
Notes
Notes:
svn path=/head/; revision=367501
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 757904546d29..8d5db6af078d 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1500,7 +1500,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}" - "{T:/%4s} {T:/%4s}\n\n", "ITEM", "SIZE", + "{T:/%4s} {T:/%4s}\n", "ITEM", "SIZE", "LIMIT", "USED", "FREE", "REQ", "FAIL", "SLEEP", "XDOMAIN"); xo_open_list("zone"); for (mtp = memstat_mtl_first(mtlp); mtp != NULL; @@ -1526,7 +1526,6 @@ domemstat_zone(void) memstat_mtl_free(mtlp); xo_close_list("zone"); xo_close_container("memory-zone-statistics"); - xo_emit("\n"); } static void |