[PATCH 1/2] commands: nandtest: Fix wrong format specifier

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 29 22:54:02 PDT 2016


Fixes: 1e009bf mtd: Make erase_info structs 64bit where necessary

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 commands/nandtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/nandtest.c b/commands/nandtest.c
index ee7725d..6d0b770 100644
--- a/commands/nandtest.c
+++ b/commands/nandtest.c
@@ -87,7 +87,7 @@ static int erase_and_write(loff_t ofs, unsigned char *data,
 	ret = erase(fd, er.length, er.start);
 	if (ret < 0) {
 		perror("\nerase");
-		printf("Could't not erase flash at 0x%08x length 0x%08x.\n",
+		printf("Could't not erase flash at 0x%08llx length 0x%08llx.\n",
 			   er.start, er.length);
 		return ret;
 	}
-- 
2.7.0




More information about the barebox mailing list