summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/mtd/mtd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/mtd/mtd.c b/openwrt/package/mtd/mtd.c
index bdc2f10f7..31b9924aa 100644
--- a/openwrt/package/mtd/mtd.c
+++ b/openwrt/package/mtd/mtd.c
@@ -449,6 +449,8 @@ int main (int argc, char **argv)
case CMD_UNLOCK:
break;
case CMD_ERASE:
+ if (!quiet)
+ fprintf(stderr, "Erasing %s ...\n", erase[i]);
mtd_erase(device);
break;
case CMD_WRITE: