← Commit list

d7d5f4293

Glenn L McGrath
Glenn L McGrath
2002-11-28
FAILED Duration: 12s

Subject

Use error_msg instead of fprintf(stderr

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/dd.c+2 -2
@@ -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;
}