diff options
author | Denis Vlasenko | 2007-10-01 11:58:38 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-10-01 11:58:38 +0000 |
commit | 0c97c9d43707da745fe2bc62ab2a69497ceaf666 (patch) | |
tree | 267d0feb99f457b68c09315b3f3aebe8dfd6d411 /coreutils/ls.c | |
parent | d65ea39ffc7503807fa95e8840c012a80c83e4f3 (diff) | |
download | busybox-0c97c9d43707da745fe2bc62ab2a69497ceaf666.zip busybox-0c97c9d43707da745fe2bc62ab2a69497ceaf666.tar.gz |
'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 a4acc98..92a9a28 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 } #endif if (stat(fullname, &dstat)) { - bb_perror_msg("%s", fullname); + bb_simple_perror_msg(fullname); status = EXIT_FAILURE; return 0; } @@ -182,7 +182,7 @@ static struct dnode *my_stat(const char *fullname, const char *name, int force_f } #endif if (lstat(fullname, &dstat)) { - bb_perror_msg("%s", fullname); + bb_simple_perror_msg(fullname); status = EXIT_FAILURE; return 0; } |