diff options
Diffstat (limited to 'coreutils/du.c')
-rw-r--r-- | coreutils/du.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/du.c b/coreutils/du.c index b5e68d8f8..2697acf13 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
@@ -67,7 +67,7 @@ static unsigned long du(const char *filename) | |||
67 | unsigned long sum; | 67 | unsigned long sum; |
68 | 68 | ||
69 | if (lstat(filename, &statbuf) != 0) { | 69 | if (lstat(filename, &statbuf) != 0) { |
70 | bb_perror_msg("%s", filename); | 70 | bb_simple_perror_msg(filename); |
71 | G.status = EXIT_FAILURE; | 71 | G.status = EXIT_FAILURE; |
72 | return 0; | 72 | return 0; |
73 | } | 73 | } |
@@ -85,7 +85,7 @@ static unsigned long du(const char *filename) | |||
85 | if (S_ISLNK(statbuf.st_mode)) { | 85 | if (S_ISLNK(statbuf.st_mode)) { |
86 | if (G.slink_depth > G.du_depth) { /* -H or -L */ | 86 | if (G.slink_depth > G.du_depth) { /* -H or -L */ |
87 | if (stat(filename, &statbuf) != 0) { | 87 | if (stat(filename, &statbuf) != 0) { |
88 | bb_perror_msg("%s", filename); | 88 | bb_simple_perror_msg(filename); |
89 | G.status = EXIT_FAILURE; | 89 | G.status = EXIT_FAILURE; |
90 | return 0; | 90 | return 0; |
91 | } | 91 | } |