Skip to contentSkip to conversation

x86/boot change for v3.11

GIT PULL Ingo Molnar 1 participant 1 message Jul 1, 2013 x86

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86-boot-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus

HEAD: 062f487190c8126209391ccb720a4ec943fd4a57 x86/boot: Close opened file descriptor

Small fixlet for the build process.

Thanks,

Ingo

------------------>
Jiri Slaby (1):
x86/boot: Close opened file descriptor

 arch/x86/boot/tools/build.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/boot/tools/build.c +1 -0
index 94c5446..c941d6a 100644
@@ -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;