summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-10-23 19:02:17 +0000
committermarkm <markm@FreeBSD.org>2002-10-23 19:02:17 +0000
commit3f1c8e178853aa0e9097487c69b326e7b550abd0 (patch)
treef35017a7f5adc172c8749b9500f5b186eba0e702 /usr.bin
parenta3db15f196f32fb84c213ce0ca89b9a18a33226a (diff)
downloadFreeBSD-src-3f1c8e178853aa0e9097487c69b326e7b550abd0.zip
FreeBSD-src-3f1c8e178853aa0e9097487c69b326e7b550abd0.tar.gz
Adjust for getbsize argument type change.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/swap.c4
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");
OpenPOWER on IntegriCloud