提交 5f16a8cf 编写于 作者: L Linus Torvalds

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
...@@ -243,6 +243,7 @@ static void parse_zoffset(char *fname) ...@@ -243,6 +243,7 @@ static void parse_zoffset(char *fname)
c = fread(buf, 1, sizeof(buf) - 1, file); c = fread(buf, 1, sizeof(buf) - 1, file);
if (ferror(file)) if (ferror(file))
die("read-error on `zoffset.h'"); die("read-error on `zoffset.h'");
fclose(file);
buf[c] = 0; buf[c] = 0;
p = (char *)buf; p = (char *)buf;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册