tools: relocate-rela: Fix typo
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 30 May 2023 22:53:19 +0000 (00:53 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:24:31 +0000 (13:24 +0200)
Position is written with one s, fix typo.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://lore.kernel.org/r/20230530225319.949968-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Michal Simek <michal.simek@amd.com>
tools/relocate-rela.c

index fe8cd6b..f230ec5 100644 (file)
@@ -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