diff options
author | Denis Vlasenko | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-26 23:21:47 +0000 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/cksum.c | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) | |
download | busybox-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip busybox-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz |
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 9bec3bf..3a9b0b0 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); } |