diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-01 11:58:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-01 11:58:38 +0000 |
commit | 0c97c9d43707da745fe2bc62ab2a69497ceaf666 (patch) | |
tree | 267d0feb99f457b68c09315b3f3aebe8dfd6d411 /coreutils/ls.c | |
parent | d65ea39ffc7503807fa95e8840c012a80c83e4f3 (diff) | |
download | busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.gz busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.bz2 busybox-w32-0c97c9d43707da745fe2bc62ab2a69497ceaf666.zip |
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
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 | } |