summaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/du.c')
-rw-r--r--coreutils/du.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index b204a02..29427c7 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -121,7 +121,7 @@ static long du(char *filename)
struct dirent *entry;
char *newfile;
- dir = bb_opendir(filename);
+ dir = warn_opendir(filename);
if (!dir) {
status = EXIT_FAILURE;
return sum;