]> git.baikalelectronics.ru Git - kernel.git/commit
x86/boot: Close opened file descriptor
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Jun 2013 07:53:03 +0000 (09:53 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Jun 2013 11:32:19 +0000 (13:32 +0200)
commit09236760cb19c512e840fe9b4ef210f3596c825f
treedcd55be3a2423cf99c00c82b6024fe700751e289
parent8e811e7bfddc7099c8ec81c30605b977a852f740
x86/boot: Close opened file descriptor

During build we open a file, read that but do not close it. Fix
that by sticking fclose() at the right place.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: http://lkml.kernel.org/r/1371628383-11216-1-git-send-email-jslaby@suse.cz
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
arch/x86/boot/tools/build.c