diff options
author | Miles Bader <miles@gnu.org> | 1996-05-03 05:30:56 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-03 05:30:56 +0000 |
commit | 663bd31c43b788156c193b8d79895fb7af58aa70 (patch) | |
tree | b2199f59a662f682733c1c7f1d15b418bab77fcd /ufs-fsck/main.c | |
parent | 3ecb154e5a98d6a60c66a8591ab80d4f30c52822 (diff) |
(show_stats): Fiddle with formatting.
Diffstat (limited to 'ufs-fsck/main.c')
-rw-r--r-- | ufs-fsck/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs-fsck/main.c b/ufs-fsck/main.c index c2656d07..f9a7bd7e 100644 --- a/ufs-fsck/main.c +++ b/ufs-fsck/main.c @@ -60,7 +60,7 @@ nice_size (long frags) u++; } - asprintf (&rep, "%#.4g%c", num, *u); + asprintf (&rep, num >= 1000 ? "%.0f%c" : "%.3g%c", num, *u); return rep; } |