summaryrefslogtreecommitdiffhomepage
path: root/coreutils/cksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cksum.c')
-rw-r--r--coreutils/cksum.c6
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);
}