diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-28 09:34:51 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-11-28 09:34:51 +0000 |
| commit | 8e1e9e12e66f3f0894ac393a4e17a67a38beff0a (patch) | |
| tree | 995eb7f37252f851e7f5f67524a812198f648440 | |
| parent | 9861f114cf373e993eb8ade090308689a72da602 (diff) | |
| download | busybox-w32-8e1e9e12e66f3f0894ac393a4e17a67a38beff0a.tar.gz busybox-w32-8e1e9e12e66f3f0894ac393a4e17a67a38beff0a.tar.bz2 busybox-w32-8e1e9e12e66f3f0894ac393a4e17a67a38beff0a.zip | |
Use error_msg instead of fprintf(stderr
git-svn-id: svn://busybox.net/trunk/busybox@6043 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | coreutils/dd.c | 4 |
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 | } |
