Message ID | 20230129164555.9940-2-pali@kernel.org |
---|---|
State | Accepted |
Commit | 6c58aa1e6167ab71d4d4121cd79372bf25d1792a |
Delegated to: | Tom Rini |
Headers | show |
Series | [u-boot,1/3] tools: imagetool: Fix error message when verify_header is undefined | expand |
On Sun, Jan 29, 2023 at 05:45:54PM +0100, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali@kernel.org>
Applied to u-boot/master, thanks!
diff --git a/tools/imagetool.c b/tools/imagetool.c index 688169b3a813..e1021f44f5ad 100644 --- a/tools/imagetool.c +++ b/tools/imagetool.c @@ -71,6 +71,11 @@ int imagetool_verify_print_header( } } + if (retval != 0) { + fprintf(stderr, "%s: cannot detect image type\n", + params->cmdname); + } + return retval; }
Signed-off-by: Pali Rohár <pali@kernel.org> --- tools/imagetool.c | 5 +++++ 1 file changed, 5 insertions(+)