1
0

template.c: output all errors to STDERR

This commit is contained in:
Intel A80486DX2-66 2024-06-03 00:29:45 +03:00
parent 3033eb2b69
commit 8e0169affb
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -220,8 +220,9 @@ main(void)
sizeof(uint8_t)); sizeof(uint8_t));
if (BLOCK_SIZE < 1) { if (BLOCK_SIZE < 1) {
# if !SILENT_MODE # if !SILENT_MODE
printf("The block size " INT2STR(BLOCK_SIZE_BYTES) " is too small, " fprintf(stderr, "The block size " INT2STR(BLOCK_SIZE_BYTES) " is too "
"should be at least %" PRIuMAX " bytes\n", MINIMUM_BLOCK_SIZE); "small, should be at least %" PRIuMAX " bytes\n",
MINIMUM_BLOCK_SIZE);
# endif # endif
return EXIT_FAILURE; return EXIT_FAILURE;
} }