aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd/src/mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/mtd/src/mtd.c')
-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 6dd6eea6a3..ae0d032168 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");