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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux