tools: dumpimage: Provide more feedback on error
authorMartyn Welch <martyn.welch@collabora.com>
Sat, 26 Jan 2019 02:31:50 +0000 (02:31 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 1 Feb 2019 19:13:45 +0000 (14:13 -0500)
commit57a608e9694045c84ef63878c2bb57a30a0c6800
tree0d25820b20bed1088413fd87a29d84ce0b018a64
parent3c29a5673617c8f03e0494febca310c2ea1f7ed9
tools: dumpimage: Provide more feedback on error

The dumpimage utility errors out in a number of places without providing
sufficient feedback to allow the user to easily determine what they have
done wrong. Add addtional error messages to make the cause of the failure
more obvious.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
tools/dumpimage.c