diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 03:21:47 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 03:21:47 +0400 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/cksum.c | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) |
remove bb_printf and the like
Diffstat (limited to 'coreutils/cksum.c')
-rw-r--r-- | coreutils/cksum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/cksum.c b/coreutils/cksum.c index 9bec3bff4..3a9b0b08c 100644 --- a/coreutils/cksum.c +++ b/coreutils/cksum.c @@ -41,13 +41,13 @@ int cksum_main(int argc, char **argv) crc ^= 0xffffffffL; if (inp_stdin) { - bb_printf("%" PRIu32 " %li\n", crc, filesize); + printf("%" PRIu32 " %li\n", crc, filesize); break; } - bb_printf("%" PRIu32 " %li %s\n", crc, filesize, *argv); + printf("%" PRIu32 " %li %s\n", crc, filesize, *argv); fclose(fp); } while (*(argv + 1)); - return EXIT_SUCCESS; + fflush_stdout_and_exit(EXIT_SUCCESS); } |