From: Jim Meyering Date: Sun, 26 Jan 1997 05:05:06 +0000 (+0000) Subject: (count_entry): Fix blatant bug (typo?) that made X-Git-Tag: TEXTUTILS-1_21a~2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7f798f5f4fbb325155bb0c1505575ab35c4e6f0d;p=thirdparty%2Fcoreutils.git (count_entry): Fix blatant bug (typo?) that made --megabytes report numbers in units of kilobytes. Reported by Galen Hazelwood. --- diff --git a/src/du.c b/src/du.c index 034b90c43b..3b9f8226aa 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);