]> git.sur5r.net Git - u-boot/blobdiff - tools/fit_image.c
tools: Add an error code when fit_handle_file() fails
[u-boot] / tools / fit_image.c
index 94229b809d8cb88a606cfaab37ae396b03ff2847..10fd6d4929374728732efd63e327cab36275766e 100644 (file)
@@ -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;
        }