]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: nandbcb: Fix printf format in write_fcb
authorPali Rohár <pali@kernel.org>
Wed, 20 Oct 2021 09:13:15 +0000 (11:13 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
Correct printf format for unsigned long long is %llx and not %llxx.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/cmd_nandbcb.c

index 09622c13c9808410c987d316a2fa209066a38083..646da0198660e51ddef69fc79c24e34928381dca 100644 (file)
@@ -650,7 +650,7 @@ static int write_fcb(struct boot_config *boot_cfg, struct fcb_block *fcb)
                        };
 
                        ret = mtd_write_oob(mtd, off, &ops);
-                       printf("NAND FCB write to 0x%llxx offset 0x%zx written: %s\n", off, ops.len, ret ? "ERROR" : "OK");
+                       printf("NAND FCB write to 0x%llx offset 0x%zx written: %s\n", off, ops.len, ret ? "ERROR" : "OK");
                }
 
                if (ret)