From 154bd660bbc3bfdde9f4bb43d1942375e8bb324f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 20 Oct 1994 16:16:39 +0000 Subject: merge with 3.9p --- src/du.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/du.c b/src/du.c index ad22be0ea..16e9d5d33 100644 --- a/src/du.c +++ b/src/du.c @@ -491,10 +491,14 @@ count_entry (ent, top, last_dev) } else if (opt_all || top) { - printf ("%ld\t%s\n", output_size == size_bytes ? size - : convert_blocks (size, output_size == size_kilobytes), - path->text); - fflush (stdout); + int print_only_dir_size = 1; + if (!print_only_dir_size) + { + printf ("%ld\t%s\n", output_size == size_bytes ? size + : convert_blocks (size, output_size == size_kilobytes), + path->text); + fflush (stdout); + } } return size; -- cgit v1.2.3-70-g09d2