aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-12-06 15:56:31 +0000
committerMatt Kraai <kraai@debian.org>2000-12-06 15:56:31 +0000
commite884970c87b921542fb9351b7a907796a0a4de23 (patch)
tree1d287004031a441da0c98a050f02deb8285d8629
parent92ed8a351908d60966fd9498574c9e6ace7bd5ab (diff)
downloadbusybox-e884970c87b921542fb9351b7a907796a0a4de23.tar.gz
Must compile before committing.
-rw-r--r--coreutils/du.c4
-rw-r--r--du.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 23bb141da..313a910ad 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -154,7 +154,7 @@ int du_main(int argc, char **argv)
long sum;
for (i=optind; i < argc; i++) {
- if (du(argv[i]) == 0)
+ if ((sum = du(argv[i])) == 0)
status = EXIT_FAILURE;
if (sum && isDirectory(argv[i], FALSE, NULL)) {
print_normal(sum, argv[i]);
@@ -166,7 +166,7 @@ int du_main(int argc, char **argv)
return status;
}
-/* $Id: du.c,v 1.27 2000/12/06 15:55:23 kraai Exp $ */
+/* $Id: du.c,v 1.28 2000/12/06 15:56:31 kraai Exp $ */
/*
Local Variables:
c-file-style: "linux"
diff --git a/du.c b/du.c
index 23bb141da..313a910ad 100644
--- a/du.c
+++ b/du.c
@@ -154,7 +154,7 @@ int du_main(int argc, char **argv)
long sum;
for (i=optind; i < argc; i++) {
- if (du(argv[i]) == 0)
+ if ((sum = du(argv[i])) == 0)
status = EXIT_FAILURE;
if (sum && isDirectory(argv[i], FALSE, NULL)) {
print_normal(sum, argv[i]);
@@ -166,7 +166,7 @@ int du_main(int argc, char **argv)
return status;
}
-/* $Id: du.c,v 1.27 2000/12/06 15:55:23 kraai Exp $ */
+/* $Id: du.c,v 1.28 2000/12/06 15:56:31 kraai Exp $ */
/*
Local Variables:
c-file-style: "linux"