template.c: output all errors to STDERR
This commit is contained in:
parent
3033eb2b69
commit
8e0169affb
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user