summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-12-23 16:31:06 +0000
committeryar <yar@FreeBSD.org>2006-12-23 16:31:06 +0000
commitca20d95084888dab71644a9eec09438c3d4936ea (patch)
tree2cf4cab34127724d71c983237453d09b104ec677 /usr.bin/systat
parentf396e814f6827cc35ea81de735a5dafa089dca12 (diff)
downloadFreeBSD-src-ca20d95084888dab71644a9eec09438c3d4936ea.zip
FreeBSD-src-ca20d95084888dab71644a9eec09438c3d4936ea.tar.gz
Add some vertical whitespace for easier reading.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/swap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c
index 6cd1e58..c305724 100644
--- a/usr.bin/systat/swap.c
+++ b/usr.bin/systat/swap.c
@@ -140,7 +140,9 @@ labelswap()
fetchswap();
row = 0;
- wmove(wnd, row, 0); wclrtobot(wnd);
+ wmove(wnd, row, 0);
+ wclrtobot(wnd);
+
mvwprintw(wnd, row++, 0, "%-5s%*s%*s %s",
"Disk", hlen, header, ulen, "Used",
"/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
@@ -172,6 +174,7 @@ showswap()
if (kvnsw == 1)
break;
}
+
if (kvmsw[i].ksw_total == 0) {
mvwprintw(
wnd,
OpenPOWER on IntegriCloud