diff mbox series

tools: relocate-rela: Fix typo

Message ID 20230530225319.949968-1-marek.vasut+renesas@mailbox.org
State Accepted
Commit 24d32e05cec97db33bfc9c647730e1627982bae7
Delegated to: Tom Rini
Headers show
Series tools: relocate-rela: Fix typo | expand

Commit Message

Marek Vasut May 30, 2023, 10:53 p.m. UTC
Position is written with one s, fix typo.

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

Comments

Michal Simek June 1, 2023, 7:03 a.m. UTC | #1
On 5/31/23 00:53, Marek Vasut wrote:
> Position is written with one s, fix typo.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
> ---
> Cc: Michal Simek <michal.simek@amd.com>
> Cc: Ovidiu Panait <ovpanait@gmail.com>
> Cc: Samuel Holland <samuel@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

Applied.
M
diff mbox series

Patch

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