aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index b17bb5969..b9f5b4cba 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -278,7 +278,7 @@ int dd_main(int argc, char **argv)
278 if (n < 0) { 278 if (n < 0) {
279 if (flags & FLAG_NOERROR) { 279 if (flags & FLAG_NOERROR) {
280 n = ibs; 280 n = ibs;
281 bb_perror_msg("%s", infile); 281 bb_simple_perror_msg(infile);
282 } else 282 } else
283 goto die_infile; 283 goto die_infile;
284 } 284 }
@@ -320,12 +320,12 @@ int dd_main(int argc, char **argv)
320 } 320 }
321 if (close(ifd) < 0) { 321 if (close(ifd) < 0) {
322 die_infile: 322 die_infile:
323 bb_perror_msg_and_die("%s", infile); 323 bb_simple_perror_msg_and_die(infile);
324 } 324 }
325 325
326 if (close(ofd) < 0) { 326 if (close(ofd) < 0) {
327 die_outfile: 327 die_outfile:
328 bb_perror_msg_and_die("%s", outfile); 328 bb_simple_perror_msg_and_die(outfile);
329 } 329 }
330 out_status: 330 out_status:
331 dd_output_status(0); 331 dd_output_status(0);