template.c: main: use return
instead of exit()
This commit is contained in:
parent
102618a21a
commit
c6d6759ffc
@ -205,7 +205,7 @@ main(void)
|
|||||||
printf("The block size %" PRIuMAX " is too small, should be at least "
|
printf("The block size %" PRIuMAX " is too small, should be at least "
|
||||||
"%" PRIuMAX " bytes\n", (uintmax_t) BLOCK_SIZE_BYTES,
|
"%" PRIuMAX " bytes\n", (uintmax_t) BLOCK_SIZE_BYTES,
|
||||||
(uintmax_t) (sizeof(SAMPLE_TYPE) / sizeof(uint8_t)));
|
(uintmax_t) (sizeof(SAMPLE_TYPE) / sizeof(uint8_t)));
|
||||||
exit(EXIT_FAILURE);
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
const size_t MAX = (PRODUCT + (BLOCK_SIZE - 1)) / BLOCK_SIZE;
|
const size_t MAX = (PRODUCT + (BLOCK_SIZE - 1)) / BLOCK_SIZE;
|
||||||
|
Loading…
Reference in New Issue
Block a user