From 7f798f5f4fbb325155bb0c1505575ab35c4e6f0d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Jan 1997 05:05:06 +0000 Subject: [PATCH] (count_entry): Fix blatant bug (typo?) that made --megabytes report numbers in units of kilobytes. Reported by Galen Hazelwood. --- src/du.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);