diff options
-rw-r--r-- | mdk-stage1/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index 3be678943..9b2eafe0e 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -277,7 +277,7 @@ enum return_type save_fd(int from_fd, char * to, void (*callback_func)(int overa cleanup: fclose(f_to); close_from: - fclose(from_fd); + close(from_fd); return ret; } |