Adjust for getbsize argument type change.
This commit is contained in:
parent
84ee4a7c72
commit
a09114536e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105812
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user