tools: fix typo in tools/image-host.c
authorHeiko Schocher <hs@denx.de>
Mon, 11 Aug 2014 09:02:17 +0000 (11:02 +0200)
committerAnatolij Gustschin <agust@denx.de>
Thu, 14 Aug 2014 09:20:01 +0000 (11:20 +0200)
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@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
tools/image-host.c

index 0eff720b62178972aa92290aea457590c8c42b56..7effb6cea59e2a084e253e26661949f058c8b534 100644 (file)
@@ -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;
        }