[U-Boot] [PATCH] tools: fix typo in tools/image-host.c

Simon Glass sjg at chromium.org
Mon Aug 11 19:14:20 CEST 2014


On 11 August 2014 03:02, Heiko Schocher <hs at denx.de> wrote:
>
> fix a typo in error printf. If FIT_CONFS_PATH is not found
> print FIT_CONFS_PATH not FIT_IMAGES_PATH.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  tools/image-host.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/image-host.c b/tools/image-host.c
> index 0eff720..7effb6c 100644
> --- a/tools/image-host.c
> +++ b/tools/image-host.c
> @@ -689,7 +689,7 @@ int fit_add_verification_data(const char *keydir, void *keydest, void *fit,
>         confs_noffset = fdt_path_offset(fit, FIT_CONFS_PATH);
>         if (confs_noffset < 0) {
>                 printf("Can't find images parent node '%s' (%s)\n",
> -                      FIT_IMAGES_PATH, fdt_strerror(confs_noffset));
> +                      FIT_CONFS_PATH, fdt_strerror(confs_noffset));
>                 return -ENOENT;
>         }

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list