summaryrefslogtreecommitdiffstats
path: root/commands/nandtest.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-03-30 07:50:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-30 07:52:30 +0200
commit76d42c5115966fe7c387c93fdd10edf5636757f4 (patch)
treef8c70191010654852a5c8274d4a398a0ae6eef85 /commands/nandtest.c
parent0832e4008fc6bbc90fcdbb6bd2c6d61677504c9c (diff)
downloadbarebox-76d42c5115966fe7c387c93fdd10edf5636757f4.tar.gz
commands: nandtest: Fix wrong format specifier
Fixes: 1e009bf mtd: Make erase_info structs 64bit where necessary Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/nandtest.c')
-rw-r--r--commands/nandtest.c2
1 files changed, 1 insertions, 1 deletions
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;
}