]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(count_entry): Fix blatant bug (typo?) that made
authorJim Meyering <jim@meyering.net>
Sun, 26 Jan 1997 05:05:06 +0000 (05:05 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Jan 1997 05:05:06 +0000 (05:05 +0000)
--megabytes report numbers in units of kilobytes.
Reported by Galen Hazelwood.

src/du.c

index 034b90c43b3ee40aced0e9ba22e0c012d2d5ee81..3b9f8226aa351bf78873fd71ab6944781b46a06e 100644 (file)
--- 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);