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/dd.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/dd.c')
-rw-r--r-- | coreutils/dd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index b17bb59..b9f5b4c 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c @@ -278,7 +278,7 @@ int dd_main(int argc, char **argv) if (n < 0) { if (flags & FLAG_NOERROR) { n = ibs; - bb_perror_msg("%s", infile); + bb_simple_perror_msg(infile); } else goto die_infile; } @@ -320,12 +320,12 @@ int dd_main(int argc, char **argv) } if (close(ifd) < 0) { die_infile: - bb_perror_msg_and_die("%s", infile); + bb_simple_perror_msg_and_die(infile); } if (close(ofd) < 0) { die_outfile: - bb_perror_msg_and_die("%s", outfile); + bb_simple_perror_msg_and_die(outfile); } out_status: dd_output_status(0); |