diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-03 12:10:53 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-03 15:19:27 +0200 |
commit | edb0a61be4030cc6bdc605332204bb27c9f1b98f (patch) | |
tree | 076616c152ba9dae2c0a9794b8c81996b2bbe9d8 /util/ifdtool/ifdtool.c | |
parent | 5fc04d1fdd2d4c763ba39c3d90e487e9f773b122 (diff) | |
download | coreboot-edb0a61be4030cc6bdc605332204bb27c9f1b98f.tar.xz |
nvramtool: Close file after use
mmap builds a new reference to the file, so the file
descriptor isn't necessary anymore. Close it.
Change-Id: I639fd13ff8f13cbdfce1d199d75744e56f2b19b3
Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6475
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/ifdtool/ifdtool.c')
0 files changed, 0 insertions, 0 deletions