tools: Add an error code when fit_handle_file() fails
authorSimon Glass <sjg@chromium.org>
Sun, 3 Jul 2016 15:40:43 +0000 (09:40 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:36 +0000 (18:22 -0400)
commit655cc69655f058e0354d5db4179c92d2ac0081ba
tree4b008f3c6c70da8976e326e94580db1c2669036f
parent73a9054d0f33dc4612a13200c6f3af00d2a1fcda
tools: Add an error code when fit_handle_file() fails

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