diff --git a/src/corrupter.c b/src/corrupter.c index c32e6c4..03d73d5 100644 --- a/src/corrupter.c +++ b/src/corrupter.c @@ -109,6 +109,8 @@ Corrupter_Result corrupt_file(Corrupter_Param* param) { if (FSEEK_MACRO(file, FILE_OFFSET_C(0), SEEK_SET) != 0 || FTELL_MACRO(file) != 0) { errno = ESPIPE; + PERROR_MACRO("corrupt_file"); + result.error = true; return result; }