mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
tools: imx8image: Improve error message
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>
This commit is contained in:
parent
a57ef36323
commit
dea6fd26b7
1 changed files with 1 additions and 1 deletions
|
@ -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 +=
|
||||
|
|
Loading…
Add table
Reference in a new issue