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 | b9889ede742e3e189356be258d49d67982ac1174 (patch) | |
tree | fd74dd58273293fc8fdd9391ee1607f59eccd034 | |
parent | fe9aaf1be759dee1441046cb7ddcab7862c16a53 (diff) |
(show_stats): Fiddle with formatting.
-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; } |