diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 19:22:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-02 19:22:55 -0400 |
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) | |||
243 | c = fread(buf, 1, sizeof(buf) - 1, file); | 243 | c = fread(buf, 1, sizeof(buf) - 1, file); |
244 | if (ferror(file)) | 244 | if (ferror(file)) |
245 | die("read-error on `zoffset.h'"); | 245 | die("read-error on `zoffset.h'"); |
246 | fclose(file); | ||
246 | buf[c] = 0; | 247 | buf[c] = 0; |
247 | 248 | ||
248 | p = (char *)buf; | 249 | p = (char *)buf; |