
29 Jan
2023
29 Jan
'23
5:45 p.m.
Signed-off-by: Pali Rohár pali@kernel.org --- tools/imagetool.c | 5 +++++ 1 file changed, 5 insertions(+)
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; }
--
2.20.1