diff options
author | Jim Meyering <jim@meyering.net> | 2000-06-16 12:50:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-06-16 12:50:27 +0000 |
commit | a6b94414503f0e6f5c4c408a8de290a300a80107 (patch) | |
tree | c78dd349885f705fa928da635fcc35f983d5dc5b /src | |
parent | 78362b9aa4f8e7c517a25e2e2f4fa1752b418db4 (diff) | |
download | coreutils-a6b94414503f0e6f5c4c408a8de290a300a80107.tar.xz |
(print_size): Round disk usage up.
Diffstat (limited to 'src')
-rw-r--r-- | src/du.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |