coreboot-kgpe-d16/util
Daniele Forsi ea70a5068f util/genprof: improve handling of command line arguments
Accept only one command line argument (the input file name); close input
stream both on error and on success; print more informative error messages
when files could not be opened.

Change-Id: Ib2f0622a332317d7a13f33f1e5787381804c43a9
Found-by: missing fclose()'s found by Cppcheck 1.65
Signed-off-by: Daniele Forsi <dforsi@gmail.com>
Reviewed-on: http://review.coreboot.org/6573
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2014-08-12 09:02:44 +02:00
..
abuild abuild: make build directory configurable with a variable 2014-05-23 08:35:31 +02:00
acpi
amdtools
arm_boot_tools/mksunxiboot cpu/allwinner/a10: Provide utility to make a bootable image 2014-01-13 04:03:00 +01:00
board_status board-status: avoid shell error 2014-08-11 08:21:45 +02:00
cbfstool cbfstool: free stale memory 2014-08-10 08:20:30 +02:00
cbmem cbmem: Terminate the cbmem console at the cursor position. 2014-07-30 11:49:45 +02:00
crossgcc crossgcc: Support OSX 10.9 built-in tar utility program. 2014-04-29 21:23:10 +02:00
dtd_parser
dumpmmcr
ectool
genprof util/genprof: improve handling of command line arguments 2014-08-12 09:02:44 +02:00
getpir
gitconfig
i915tool util/i915tool: close the file also when fread() returned an error 2014-07-30 13:16:53 +02:00
ifdfake
ifdtool ifdtool: Provide bounds on string parser 2014-08-10 18:50:30 +02:00
inteltool util/inteltool: Add pci ids for 4 northbridge models instead of 1. 2014-06-11 03:05:01 +02:00
k8resdump
kconfig kconfig: update to follow upstream more closely 2014-05-07 19:39:28 +02:00
lbtdump lbtdump: Dump forwarded tables. 2014-03-09 21:19:29 +01:00
lint lint: provide better GPL license text test 2014-08-11 19:13:25 +02:00
mkelfImage
mptable
msrtool
nvramtool nvramtool: check for successful seek 2014-08-10 08:20:09 +02:00
optionlist
resetcf
romcc romcc: properly check out-of-range unsigned longs 2014-08-10 08:19:44 +02:00
runfw
sconfig sconfig: improve argument parsing 2014-08-04 20:57:12 +02:00
showdevicetree
spkmodem_recv
superiotool util/superiotool: Add initial support for Fintek F71869ED. 2014-03-27 10:15:28 +01:00
vgabios
viatool
xcompile build system: remove duplicate architecture list 2014-07-30 21:06:43 +02:00