]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: mkimage: don't print error message "Success" in case of failure
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 23 Nov 2022 11:55:32 +0000 (12:55 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 8 Dec 2022 14:29:02 +0000 (09:29 -0500)
commit72c3f5dbd9545259a7eb04a7d21dff9b318de77e
tree37291d6600bb4425218dfad814d8f8f44d7ee4e0
parent4b95e8407eba6e6fd73341695de15dec19e723a8
tools: mkimage: don't print error message "Success" in case of failure

In case there's no struct image_type_params::set_header callback, no
"errno" will be set. Don't fail with an error message, followed by
"Success". Remove the printing of the human readable "errno" value.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/mkimage.c