pstat(8): improve the Size header width after r358181

All size values use fields of width 8. Also, all other headers use fields of
width 8. Make the Size header added in r358181 use 8 characters as well.
This commit is contained in:
Piotr Pawel Stefaniak 2020-06-23 18:19:22 +00:00
parent c4ef7cdb4d
commit 3cbfd5815b

View File

@ -475,7 +475,7 @@ print_swap_header(void)
if (humanflag) {
header = SIZEHDR;
hlen = sizeof(SIZEHDR);
hlen = 8; /* as the hardcoded field width of values */
} else {
header = getbsize(&hlen, &blocksize);
}