fiptool: fix Segmentation fault when only --verbose option is given
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 26 Oct 2016 04:24:26 +0000 (13:24 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 26 Oct 2016 15:04:17 +0000 (00:04 +0900)
commitc9cb4089974025157a2454d8564316962bf79f0f
treebe180e64334898d127102ef3472d8262564357ca
parentad09652c41c96cca97cd95a59cdb72644717285d
fiptool: fix Segmentation fault when only --verbose option is given

Fix the following bug:

  $ tools/fiptool/fiptool -v
  Segmentation fault (core dumped)

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
tools/fiptool/fiptool.c