aboutsummaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-12 13:47:44 +0000
committerRon Yorston <rmy@pobox.com>2019-03-12 13:47:44 +0000
commitfd0e6a01a68047e959ef13f3161ce302b438d2b1 (patch)
treec9f15afd1220835af46ddf8e72c077c80edbf005 /coreutils/du.c
parentdb255bbadf9c6b219b29d06d4958fbd7967eb8b4 (diff)
parent2452247ea33c1c70263bf4cbc11b3170366ff2ea (diff)
downloadbusybox-w32-fd0e6a01a68047e959ef13f3161ce302b438d2b1.tar.gz
busybox-w32-fd0e6a01a68047e959ef13f3161ce302b438d2b1.tar.bz2
busybox-w32-fd0e6a01a68047e959ef13f3161ce302b438d2b1.zip
Merge branch 'busybox' into merge
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 0615a6e49..4fd09a8ee 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -290,11 +290,11 @@ int du_main(int argc UNUSED_PARAM, char **argv)
290 total = 0; 290 total = 0;
291 do { 291 do {
292 total += du(*argv); 292 total += du(*argv);
293 /* otherwise du /dir /dir won't show /dir twice: */
294 reset_ino_dev_hashtable();
295 G.slink_depth = slink_depth_save; 293 G.slink_depth = slink_depth_save;
296 } while (*++argv); 294 } while (*++argv);
297 295
296 if (ENABLE_FEATURE_CLEAN_UP)
297 reset_ino_dev_hashtable();
298 if (opt & OPT_c_total) 298 if (opt & OPT_c_total)
299 print(total, "total"); 299 print(total, "total");
300 300