[PATCH] tools: relocate-rela: Fix typo

Marek Vasut marek.vasut+renesas at mailbox.org
Wed May 31 00:53:19 CEST 2023


Position is written with one s, fix typo.

Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Michal Simek <michal.simek at amd.com>
Cc: Ovidiu Panait <ovpanait at gmail.com>
Cc: Samuel Holland <samuel at sholland.org>
---
 tools/relocate-rela.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c
index fe8cd6bda98..f230ec5676c 100644
--- a/tools/relocate-rela.c
+++ b/tools/relocate-rela.c
@@ -521,7 +521,7 @@ static int rela_elf32(char **argv, FILE *f)
 		uint32_t pos = rela_start + sizeof(Elf32_Rela) * i;
 		uint32_t addr, pos_dyn;
 
-		debug("\nPossition:\t%d/0x%x\n", i, pos);
+		debug("\nPosition:\t%d/0x%x\n", i, pos);
 
 		if (fseek(f, pos, SEEK_SET) < 0) {
 			fprintf(stderr, "%s: %s: seek to %" PRIx32
-- 
2.39.2



More information about the U-Boot mailing list