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/du.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/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 b5e68d8..2697acf 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -67,7 +67,7 @@ static unsigned long du(const char *filename) unsigned long sum; if (lstat(filename, &statbuf) != 0) { - bb_perror_msg("%s", filename); + bb_simple_perror_msg(filename); G.status = EXIT_FAILURE; return 0; } @@ -85,7 +85,7 @@ static unsigned long du(const char *filename) if (S_ISLNK(statbuf.st_mode)) { if (G.slink_depth > G.du_depth) { /* -H or -L */ if (stat(filename, &statbuf) != 0) { - bb_perror_msg("%s", filename); + bb_simple_perror_msg(filename); G.status = EXIT_FAILURE; return 0; } |