summaryrefslogtreecommitdiff
path: root/src/df.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-31 21:34:07 +0000
committerJim Meyering <jim@meyering.net>1997-12-31 21:34:07 +0000
commite3d35f67898b94fa588fd24d6e620bdcabe23437 (patch)
tree9555ddcd534982a3c30a5a3275d62e777b8abb6e /src/df.c
parentb76a4533046163978f7517f9ea6d3307bfa0a98a (diff)
downloadcoreutils-e3d35f67898b94fa588fd24d6e620bdcabe23437.tar.xz
(show_dev): Print inode counts human readably.
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/df.c b/src/df.c
index 29d9e1427..f53a0802a 100644
--- a/src/df.c
+++ b/src/df.c
@@ -244,9 +244,9 @@ show_dev (const char *disk, const char *mount_point, const char *fstype)
}
printf (" %7s %7s %7s %5.0f%%",
- human_readable (fsu.fsu_files, buf[0], 1, 1, 0),
- human_readable (inodes_used, buf[1], 1, 1, 0),
- human_readable (fsu.fsu_ffree, buf[2], 1, 1, 0),
+ human_readable (fsu.fsu_files, buf[0], 1, 1, human_readable_base),
+ human_readable (inodes_used, buf[1], 1, 1, human_readable_base),
+ human_readable (fsu.fsu_ffree, buf[2], 1, 1, human_readable_base),
inodes_percent_used);
}
else