]> git.dujemihanovic.xyz Git - u-boot.git/commit
image-host: Fix error value paths and emit error messages to stderr.
authorHugo Cornelis <hugo.cornelis@essensium.com>
Thu, 21 Mar 2024 11:22:22 +0000 (12:22 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2024 14:53:31 +0000 (08:53 -0600)
commit55a7d60f8f10b1c3c5a8e29571c065d61f5dd12f
tree9a52802d444c51a62204cf3d4c5bc68e02c95cb1
parent7b2d32a7d6a782063bed80fa2161305eba627caa
image-host: Fix error value paths and emit error messages to stderr.

A recent refactoring in image-host.c messed up the return values of
the function that reads the encryptiong keys.  This patch fixes this
and also makes sure that error output goes to stderr instead of to
stdout.

Signed-off-by: Hugo Cornelis <hugo.cornelis@essensium.com>
tools/image-host.c