summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/du.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/du.c b/src/du.c
index 6c6e451c3..9bfe56a91 100644
--- a/src/du.c
+++ b/src/du.c
@@ -300,7 +300,8 @@ print_size (uintmax_t n_blocks, const char *string)
{
char buf[LONGEST_HUMAN_READABLE + 1];
printf ("%s\t%s\n",
- human_readable (n_blocks, buf, ST_NBLOCKSIZE, output_block_size),
+ human_readable_inexact (n_blocks, buf, ST_NBLOCKSIZE,
+ output_block_size, human_ceiling),
string);
fflush (stdout);
}