aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/mtd/mtd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mtd/mtd.c b/package/mtd/mtd.c
index bdc2f10f72..31b9924aa5 100644
--- a/package/mtd/mtd.c
+++ b/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: