1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362547

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);
}