summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/system/mtd/src/mtd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c
index 6dd6eea..ae0d032 100644
--- a/package/system/mtd/src/mtd.c
+++ b/package/system/mtd/src/mtd.c
@@ -505,7 +505,7 @@ resume:
if (mtd_block_is_bad(fd, e)) {
if (!quiet)
- fprintf(stderr, "\nSkipping bad block at 0x%08x ", e);
+ fprintf(stderr, "\nSkipping bad block at 0x%08zx ", e);
skip_bad_blocks += erasesize;
e += erasesize;
@@ -563,7 +563,6 @@ resume:
if (!quiet)
fprintf(stderr, "\b\b\b\b ");
-done:
if (quiet < 2)
fprintf(stderr, "\n");