diff --git a/mali_shrinker_mmap32.c b/mali_shrinker_mmap32.c index b407cda..3fe5c14 100644 --- a/mali_shrinker_mmap32.c +++ b/mali_shrinker_mmap32.c @@ -885,7 +885,7 @@ int main() { fclose(frp); return 1; } - if (fputc(0x01, file) == EOF) { + if (fputc(0x01, frp) == EOF) { perror("Failed to fix byte. (7FFF8:0x01)"); fclose(frp); return 1;