summaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/du.c')
-rw-r--r--coreutils/du.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 76ea6d0..14e0bdf 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -111,11 +111,11 @@ du_main(int argc, char **argv)
int sum;
for ( ; i < argc; i++) {
sum = du(argv[i]) >> 1;
- if (sum) printf("%-7d %s\n", du(argv[i]) >> 1, argv[i]);
+ if (sum) printf("%-7d %s\n", sum, argv[i]);
}
}
exit(0);
}
-/* $Id: du.c,v 1.4 1999/12/10 07:40:08 beppu Exp $ */
+/* $Id: du.c,v 1.5 1999/12/10 15:23:47 beppu Exp $ */