diff options
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index a4acc98ad..92a9a289d 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -171,7 +171,7 @@ static struct dnode *my_stat(const char *fullname, const char *name, int force_f | |||
171 | } | 171 | } |
172 | #endif | 172 | #endif |
173 | if (stat(fullname, &dstat)) { | 173 | if (stat(fullname, &dstat)) { |
174 | bb_perror_msg("%s", fullname); | 174 | bb_simple_perror_msg(fullname); |
175 | status = EXIT_FAILURE; | 175 | status = EXIT_FAILURE; |
176 | return 0; | 176 | return 0; |
177 | } | 177 | } |
@@ -182,7 +182,7 @@ static struct dnode *my_stat(const char *fullname, const char *name, int force_f | |||
182 | } | 182 | } |
183 | #endif | 183 | #endif |
184 | if (lstat(fullname, &dstat)) { | 184 | if (lstat(fullname, &dstat)) { |
185 | bb_perror_msg("%s", fullname); | 185 | bb_simple_perror_msg(fullname); |
186 | status = EXIT_FAILURE; | 186 | status = EXIT_FAILURE; |
187 | return 0; | 187 | return 0; |
188 | } | 188 | } |