aboutsummaryrefslogtreecommitdiff
path: root/tests/mtd-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mtd-tests')
-rw-r--r--tests/mtd-tests/nandpagetest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mtd-tests/nandpagetest.c b/tests/mtd-tests/nandpagetest.c
index 115cedb..2ce0901 100644
--- a/tests/mtd-tests/nandpagetest.c
+++ b/tests/mtd-tests/nandpagetest.c
@@ -232,8 +232,8 @@ static int verify_eraseblock(int ebnum)
return err;
if (lseek(fd, addr, SEEK_SET) != addr) {
- fprintf(stderr, "cannot seek mtd%d to offset %"PRIdloff_t,
- mtd.mtd_num, addr);
+ fprintf(stderr, "cannot seek mtd%d to offset %lld",
+ mtd.mtd_num, (long long)addr);
return -1;
}