summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-26 05:05:06 +0000
committerJim Meyering <jim@meyering.net>1997-01-26 05:05:06 +0000
commit7f798f5f4fbb325155bb0c1505575ab35c4e6f0d (patch)
treed555b563dad614086813fc8b3ebc2875ab686a27 /src
parent9d502e72408339e0d773174887ad3c377513df18 (diff)
downloadcoreutils-7f798f5f4fbb325155bb0c1505575ab35c4e6f0d.tar.xz
(count_entry): Fix blatant bug (typo?) that made
--megabytes report numbers in units of kilobytes. Reported by Galen Hazelwood.
Diffstat (limited to 'src')
-rw-r--r--src/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/du.c b/src/du.c
index 034b90c43..3b9f8226a 100644
--- a/src/du.c
+++ b/src/du.c
@@ -638,7 +638,7 @@ count_entry (char *ent, int top, dev_t last_dev)
else
{
printf ("%ld\t%s\n", output_size == size_bytes ? size
- : convert_blocks (size, output_size == size_kilobytes),
+ : convert_blocks (size, output_size),
path->text);
}
fflush (stdout);