HomeFreeBSD

usr.bin/top: fix displaying load average for loads of at least 100

Description

usr.bin/top: fix displaying load average for loads of at least 100

After top registers load average of at least 100 which then gets reduced to
below 100, there are left stray digits.
Supporting load over 100 requires increasing the width only to 6, but since
we support over 1000 CPU's now, let's increase it to 7.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D45284

Details

Provenance
pkubajAuthored on May 21 2024, 10:28 AM
Reviewer
kib
Differential Revision
D45284: usr.bin/top: fix displaying load average for loads of at least 100
Parents
rGeaab8e4166a0: mac_do(4): fix typo
Branches
Unknown
Tags
Unknown