Page MenuHomeFreeBSD

iostat.c: fix formatting
ClosedPublic

Authored by trasz on Feb 6 2020, 2:47 PM.
Tags
None
Referenced Files
F133385570: D23538.id68650.diff
Sat, Oct 25, 9:29 AM
F133385523: D23538.id67864.diff
Sat, Oct 25, 9:28 AM
F133385512: D23538.id.diff
Sat, Oct 25, 9:28 AM
Unknown Object (File)
Sat, Oct 25, 2:52 AM
Unknown Object (File)
Sep 17 2025, 12:55 AM
Unknown Object (File)
Aug 3 2025, 12:38 PM
Unknown Object (File)
Jul 30 2025, 10:50 PM
Unknown Object (File)
Jul 7 2025, 2:33 AM
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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

mat added inline comments.
usr.sbin/iostat/iostat.c
932 ↗(On Diff #67864)

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 ↗(On Diff #67864)

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.