diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 16:22:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 16:22:55 -0700 |
commit | 5f16a8cf2da76f75e127a370e4dcfe223107922f (patch) | |
tree | e9cfa72df7847b178e56a36a28f0a589890f2fde | |
parent | 002e44bfb596665178cbf83586faeb8349ea6b9b (diff) | |
parent | 062f487190c8126209391ccb720a4ec943fd4a57 (diff) |
Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 boot build fix from Ingo Molnar:
"Small fixlet for the build process"
* 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/boot: Close opened file descriptor
-rw-r--r-- | arch/x86/boot/tools/build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/boot/tools/build.c b/arch/x86/boot/tools/build.c index 94c544650020..c941d6a8887f 100644 --- a/arch/x86/boot/tools/build.c +++ b/arch/x86/boot/tools/build.c @@ -243,6 +243,7 @@ static void parse_zoffset(char *fname) c = fread(buf, 1, sizeof(buf) - 1, file); if (ferror(file)) die("read-error on `zoffset.h'"); + fclose(file); buf[c] = 0; p = (char *)buf; |