From: Glenn L McGrath Date: Thu, 28 Nov 2002 09:34:51 +0000 (-0000) Subject: Use error_msg instead of fprintf(stderr X-Git-Tag: 1_00_pre1~394 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d7d5f429349001faab658eb968def689c1ca8d58;p=oweals%2Fbusybox.git Use error_msg instead of fprintf(stderr --- 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) 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 in", (long)in_full, (long)in_part); + error_msg("%ld+%ld records out", (long)out_full, (long)out_part); return EXIT_SUCCESS; }