remove bb_printf and the like
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 @@
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);
}