git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e46a9
)
tools: imagetool: Show error message when detecting image type failed
author
Pali Rohár
<pali@kernel.org>
Sun, 29 Jan 2023 16:45:54 +0000
(17:45 +0100)
committer
Tom Rini
<trini@konsulko.com>
Mon, 6 Feb 2023 19:35:14 +0000
(14:35 -0500)
Signed-off-by: Pali Rohár <pali@kernel.org>
tools/imagetool.c
patch
|
blob
|
history
diff --git
a/tools/imagetool.c
b/tools/imagetool.c
index
688169b
..
e1021f4
100644
(file)
--- 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;
}