aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-28 09:34:51 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-28 09:34:51 +0000
commitd7d5f429349001faab658eb968def689c1ca8d58 (patch)
tree995eb7f37252f851e7f5f67524a812198f648440
parentd4036f86e579be4e1911507a72f161b18fdfd28d (diff)
downloadbusybox-w32-d7d5f429349001faab658eb968def689c1ca8d58.tar.gz
busybox-w32-d7d5f429349001faab658eb968def689c1ca8d58.tar.bz2
busybox-w32-d7d5f429349001faab658eb968def689c1ca8d58.zip
Use error_msg instead of fprintf(stderr
-rw-r--r--coreutils/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index fb78d5355..d6a4bb3aa 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -172,8 +172,8 @@ int dd_main(int argc, char **argv)
172 if (close (ofd) < 0) 172 if (close (ofd) < 0)
173 perror_msg_and_die("%s", outfile); 173 perror_msg_and_die("%s", outfile);
174 174
175 fprintf(stderr, "%ld+%ld records in\n", (long)in_full, (long)in_part); 175 error_msg("%ld+%ld records in", (long)in_full, (long)in_part);
176 fprintf(stderr, "%ld+%ld records out\n", (long)out_full, (long)out_part); 176 error_msg("%ld+%ld records out", (long)out_full, (long)out_part);
177 177
178 return EXIT_SUCCESS; 178 return EXIT_SUCCESS;
179} 179}