From: Pali Rohár <pali@kernel.org>
Date: Sun, 29 Jan 2023 16:45:53 +0000 (+0100)
Subject: tools: imagetool: Fix error message when verify_header is undefined
X-Git-Tag: v2025.01-rc5-pxa1908~1118^2~7
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=27e46a991c188b523f98c1a8a455cc7dc912eea1;p=u-boot.git

tools: imagetool: Fix error message when verify_header is undefined

Signed-off-by: Pali Rohár <pali@kernel.org>
---

diff --git a/tools/imagetool.c b/tools/imagetool.c
index f14ca2fb97..688169b3a8 100644
--- a/tools/imagetool.c
+++ b/tools/imagetool.c
@@ -105,7 +105,7 @@ static int imagetool_verify_print_header_by_type(
 		}
 
 	} else {
-		fprintf(stderr, "%s: print_header undefined for %s\n",
+		fprintf(stderr, "%s: verify_header undefined for %s\n",
 			params->cmdname, tparams->name);
 	}