Page MenuHomeFreeBSD

iostat.c: fix formatting
ClosedPublic

Authored by trasz on Feb 6 2020, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 5:40 AM
Unknown Object (File)
Sat, Jan 11, 6:52 PM
Unknown Object (File)
Sep 24 2024, 9:05 PM
Unknown Object (File)
Sep 24 2024, 9:05 PM
Unknown Object (File)
Sep 24 2024, 9:04 PM
Unknown Object (File)
Sep 21 2024, 3:48 PM
Unknown Object (File)
Sep 17 2024, 3:38 AM
Unknown Object (File)
Sep 15 2024, 4:32 PM
Subscribers

Details

Summary

Fix formatting for tps values between 99.95 and 99.99; previously
it would display as "100.0", breaking vertical alignment.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29206
Build 27133: arc lint + arc unit

Event Timeline

mat added inline comments.
usr.sbin/iostat/iostat.c
932

should not it be < 99.95?

linimon retitled this revision from Fix formatting to iostat.c: fix formatting.Feb 7 2020, 4:33 AM
usr.sbin/iostat/iostat.c
932

I've tried that, but then, for for 99.95, we get:

99.950 100.0

This revision was not accepted when it landed; it landed in state Needs Review.Feb 21 2020, 8:57 PM
This revision was automatically updated to reflect the committed changes.