summaryrefslogtreecommitdiffstats
path: root/usr.bin/bzip2
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2006-02-14 07:44:21 +0000
committerbde <bde@FreeBSD.org>2006-02-14 07:44:21 +0000
commitb5c5a6eb328ddd1def3cc99cf8c6968b6d91b401 (patch)
treee2188d406c4e5bbc1aa05685140afc33cb5c3a27 /usr.bin/bzip2
parenta77fb4360bb170f10b7e19e403fe1d6fbd7a20b1 (diff)
downloadFreeBSD-src-b5c5a6eb328ddd1def3cc99cf8c6968b6d91b401.zip
FreeBSD-src-b5c5a6eb328ddd1def3cc99cf8c6968b6d91b401.tar.gz
Fix all (?) cases where the field width of a numeric field was far too
large. In most cases it is still 1 too large, so fields tend to run together, but in the following cases it was more than 1 too large, and the starting column was too small too, so the field started inside the previous field or descriptor and clobbered that: - "wire": the number for this overwrote 2 characters of the number for "Flt". Reduce the field width by 3 (2 to avoid the overwrite and 1 so that the fields don't run together). This was already done for the preceding number for "cow". - "inact": the number for this overwrote 1 character of the descriptor "Idle". Reducing the field width by 2 is enough. - "cache:" the number for this overwrote 3 characters of the scale "...| |". The field width should be reduced by 4 to keep things from running together, but that is a lot and not so necessary here since the final "|" in the scale serves as a delimiter. Only reduce it by 3. - "free": the number for this overwrote 2 characters of the bar graph. The character position under the final "|" in the scale is apparently not used, so reducing the field width by 3 is enough. When "zfod" is in the main vmstat display: - use the normal field width of 9 (not 5) for it since there is no shortage of space. Fix style bugs (excessive {}) in the statement that conditionally writes it. Write all reduced field widths for vmstat fields as "9 - <reduction>" as a hint that we don't want to reduce them.
Diffstat (limited to 'usr.bin/bzip2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud