summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-09 08:24:05 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-09 08:24:05 +0000
commit3fc5a06bc627801879b45261be02a43afc8c9a38 (patch)
tree8429f564144d7350351736856dc6557819e2cc00
parent72c232e2577ea92e2ec06ec194cfd4f40751c0b7 (diff)
add missing mtd output message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3199 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 bdc2f10f7..31b9924aa 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: