summaryrefslogtreecommitdiff
path: root/util/kconfig/images.c
diff options
context:
space:
mode:
authorDaniele Forsi <dforsi@gmail.com>2014-08-03 13:47:58 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-08-12 09:02:44 +0200
commitea70a5068fb6df4adcdb43142e77fdb2e9ccac1e (patch)
treedd12f84837a4b9a9e26ff39e235c8e9db7563c00 /util/kconfig/images.c
parent21fbc08d4b3f99ca606dc1b9e12bcffef65bfb50 (diff)
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>
Diffstat (limited to 'util/kconfig/images.c')
0 files changed, 0 insertions, 0 deletions