diff options
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/swap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c index eca6726..fa9918e 100644 --- a/usr.bin/systat/swap.c +++ b/usr.bin/systat/swap.c @@ -120,12 +120,14 @@ labelswap() { char *header; int row, i; + size_t tmp; fetchswap(); row = 0; wmove(wnd, row, 0); wclrtobot(wnd); - header = getbsize(&hlen, &blocksize); + header = getbsize(&tmp, &blocksize); + hlen = (int)tmp; mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s", "Disk", hlen, header, "Used", "/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100"); |