projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4036f8
)
Use error_msg instead of fprintf(stderr
author
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 28 Nov 2002 09:34:51 +0000
(09:34 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Thu, 28 Nov 2002 09:34:51 +0000
(09:34 -0000)
coreutils/dd.c
patch
|
blob
|
history
diff --git
a/coreutils/dd.c
b/coreutils/dd.c
index fb78d5355723120e817e3b4b79c53eafb03998fb..d6a4bb3aa3a31fdfce288b02089f4319058c8cec 100644
(file)
--- a/
coreutils/dd.c
+++ b/
coreutils/dd.c
@@
-172,8
+172,8
@@
int dd_main(int argc, char **argv)
if (close (ofd) < 0)
perror_msg_and_die("%s", outfile);
-
fprintf(stderr, "%ld+%ld records in\
n", (long)in_full, (long)in_part);
-
fprintf(stderr, "%ld+%ld records out\n
", (long)out_full, (long)out_part);
+
error_msg("%ld+%ld records i
n", (long)in_full, (long)in_part);
+
error_msg("%ld+%ld records out
", (long)out_full, (long)out_part);
return EXIT_SUCCESS;
}