tools: image: fix message when fail to add verification data for config
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Oct 2017 06:04:21 +0000 (15:04 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 6 Nov 2017 14:59:01 +0000 (09:59 -0500)
commit76b9cbab25f832a25e51c50a221c0f1ff3632b7c
tree1d0dd562ad4047a808c350c6341b01900be722df
parent6793d017a7679477402f5d30229651dba0db5ed2
tools: image: fix message when fail to add verification data for config

This function is called when signing configuration nodes.  Adjust
the error message.

I do not know why we do not need to show the error message in case of
ENOSPC.  Remove the if-conditional that seems unnecessary.

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