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:
a57ef36
)
tools: imx8image: Improve error message
author
Heiko Schocher
<hs@denx.de>
Sat, 23 Nov 2024 16:52:47 +0000
(17:52 +0100)
committer
Fabio Estevam
<festevam@gmail.com>
Tue, 26 Nov 2024 02:07:37 +0000
(23:07 -0300)
Improve error message "header tag mismatched"
Add filename to error message to see, which file
is wrong.
Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
tools/imx8image.c
patch
|
blob
|
history
diff --git
a/tools/imx8image.c
b/tools/imx8image.c
index
7a06081
..
15510d3
100644
(file)
--- a/
tools/imx8image.c
+++ b/
tools/imx8image.c
@@
-734,7
+734,7
@@
static int get_container_image_start_pos(image_t *image_stack, uint32_t align)
fclose(fd);
if (header.tag != IVT_HEADER_TAG_B0) {
- fprintf(stderr, "header tag mismatched
\n"
);
+ fprintf(stderr, "header tag mismatched
file %s\n", img_sp->filename
);
exit(EXIT_FAILURE);
} else {
file_off +=