diff options
author | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2020-06-23 18:19:22 +0000 |
---|---|---|
committer | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2020-06-23 18:19:22 +0000 |
commit | 3cbfd5815b4453f16dcc8efe8110fce42cfa9b76 (patch) | |
tree | bc204bd7c07b40526ed9e4e3d9b56323a370a07b /usr.sbin/pstat | |
parent | c4ef7cdb4d84a516f3b05d5396beb2fb2440102c (diff) | |
download | src-3cbfd5815b4453f16dcc8efe8110fce42cfa9b76.tar.gz src-3cbfd5815b4453f16dcc8efe8110fce42cfa9b76.zip |
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.
Notes
Notes:
svn path=/head/; revision=362547
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 923357b2c24d..bcb3df20b8bd 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -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); } |