diff options
-rw-r--r-- | tools/fit_image.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c index 8df95c40d2..9ac525623b 100644 --- a/tools/fit_image.c +++ b/tools/fit_image.c @@ -525,8 +525,9 @@ static int fit_extract_data(struct image_tool_params *params, const char *fname) /* Check if an offset for the external data was set. */ if (params->external_offset > 0) { if (params->external_offset < new_size) { - debug("External offset %x overlaps FIT length %x\n", - params->external_offset, new_size); + fprintf(stderr, + "External offset %x overlaps FIT length %x\n", + params->external_offset, new_size); ret = -EINVAL; goto err; } |