template.c: output all errors to STDERR
This commit is contained in:
parent
6f99ea37e6
commit
505812da6c
@ -272,8 +272,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