Skip to contentSkip to conversation

tools: fix typo in tools/image-host.c

PATCH New Heiko Schocher 3 participants 3 messages Aug 11, 2014 – Aug 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: fix typo in tools/image-host.c

fix a typo in error printf. If FIT_CONFS_PATH is not found print FIT_CONFS_PATH not FIT_IMAGES_PATH.

---
 tools/image-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/image-host.c +1 -1
index 0eff720..7effb6c 100644
@@ -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;
 	}
 
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 tools: fix typo in tools/image-host.c

Quoted 15 lines · Heiko Schocher

fix a typo in error printf. If FIT_CONFS_PATH is not found print FIT_CONFS_PATH not FIT_IMAGES_PATH.

---
 tools/image-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/image-host.c +0 -0
index 0eff720..7effb6c 100644

tools/image-host.c int fit_add_verification_data(const char *keydir, void *keydest, void *fit, · line 694

Quoted 7 lines
tools/image-host.c +1 -1
@@ -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;
        }
#2 lore raw

PATCH 1/1 tools: fix typo in tools/image-host.c

In reply to Heiko Schocher
Quoted 8 lines · On Mon, 11 Aug 2014 11:02:17 +0200 Heiko Schocher <[email protected]> wrote:

fix a typo in error printf. If FIT_CONFS_PATH is not found print FIT_CONFS_PATH not FIT_IMAGES_PATH.

---
 tools/image-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-staging/agust at denx.de. thanks!

Anatolij