diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/cksum.c | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) | |
download | busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.bz2 busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip |
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) | |||
41 | crc ^= 0xffffffffL; | 41 | crc ^= 0xffffffffL; |
42 | 42 | ||
43 | if (inp_stdin) { | 43 | if (inp_stdin) { |
44 | bb_printf("%" PRIu32 " %li\n", crc, filesize); | 44 | printf("%" PRIu32 " %li\n", crc, filesize); |
45 | break; | 45 | break; |
46 | } | 46 | } |
47 | 47 | ||
48 | bb_printf("%" PRIu32 " %li %s\n", crc, filesize, *argv); | 48 | printf("%" PRIu32 " %li %s\n", crc, filesize, *argv); |
49 | fclose(fp); | 49 | fclose(fp); |
50 | } while (*(argv + 1)); | 50 | } while (*(argv + 1)); |
51 | 51 | ||
52 | return EXIT_SUCCESS; | 52 | fflush_stdout_and_exit(EXIT_SUCCESS); |
53 | } | 53 | } |