projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a9054
)
tools: Add an error code when fit_handle_file() fails
author
Simon Glass
<sjg@chromium.org>
Sun, 3 Jul 2016 15:40:43 +0000
(09:40 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 14 Jul 2016 22:22:36 +0000
(18:22 -0400)
The error code may provide useful information for debugging. Add it to the
error string.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Teddy Reed <teddy.reed@gmail.com>
tools/fit_image.c
patch
|
blob
|
history
diff --git
a/tools/fit_image.c
b/tools/fit_image.c
index 94229b809d8cb88a606cfaab37ae396b03ff2847..10fd6d4929374728732efd63e327cab36275766e 100644
(file)
--- a/
tools/fit_image.c
+++ b/
tools/fit_image.c
@@
-651,8
+651,8
@@
static int fit_handle_file(struct image_tool_params *params)
}
if (ret) {
- fprintf(stderr, "%s Can't add hashes to FIT blob\n",
- params->cmdname);
+ fprintf(stderr, "%s Can't add hashes to FIT blob
: %d
\n",
+ params->cmdname
, ret
);
goto err_system;
}