mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-12-26 15:10:40 +05:30
corrupter.c: report error ESPIPE manually
This commit is contained in:
parent
65042ff90b
commit
bdec7db2e3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user