diff options
-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"); |