diff options
author | mike <mike@FreeBSD.org> | 2002-12-30 18:14:43 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-12-30 18:14:43 +0000 |
commit | 2c840ea280710fa5bdbf9d9deb7bb477a0ce9ed9 (patch) | |
tree | 82c9a1d37e5509b823180037b582850a1aacd6c9 /usr.bin | |
parent | 329cb097129f5a51ee48a6e07a68f5812922cf33 (diff) | |
download | FreeBSD-src-2c840ea280710fa5bdbf9d9deb7bb477a0ce9ed9.zip FreeBSD-src-2c840ea280710fa5bdbf9d9deb7bb477a0ce9ed9.tar.gz |
Back out rev 1.20; getbsize(3)'s original interface has been restored.
Approved by: markm
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/systat/swap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c index fa9918e..eca6726 100644 --- a/usr.bin/systat/swap.c +++ b/usr.bin/systat/swap.c @@ -120,14 +120,12 @@ labelswap() { char *header; int row, i; - size_t tmp; fetchswap(); row = 0; wmove(wnd, row, 0); wclrtobot(wnd); - header = getbsize(&tmp, &blocksize); - hlen = (int)tmp; + header = getbsize(&hlen, &blocksize); mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s", "Disk", hlen, header, "Used", "/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100"); |