diff options
| author | Heiko Schocher <[email protected]> | 2024-11-23 17:52:47 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-11-25 23:07:37 -0300 |
| commit | dea6fd26b70cf3e2603c9324d2154c68de8e8e9f (patch) | |
| tree | e76e0d628053a01e74d7fff6a3c2f8a7e6552eb0 | |
| parent | a57ef36323eb65d3d83c504f9f0a9ad831ec825c (diff) | |
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 <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
| -rw-r--r-- | tools/imx8image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imx8image.c b/tools/imx8image.c index 7a060811c7e..15510d3e712 100644 --- 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 += |
