diff --git a/src/elf.c b/src/elf.c index cfca9903..27668148 100644 --- a/src/elf.c +++ b/src/elf.c @@ -353,7 +353,7 @@ bool elf_open(elf_t *e, const char *input) #if HAVE_MMAP close(fd); #else - close(f); + fclose(f); #endif free_path: