summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-02-09 08:24:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-02-09 08:24:05 +0000
commit51c6515896809b75b0c08b894a5c030491f8338b (patch)
treeb86a2993d7a6e2b33b189d1aa2deba391db9de5b /openwrt
parent92a4d694d910978a36a3f47b636fa1fa6d910f54 (diff)
downloadmtk-20170518-51c6515896809b75b0c08b894a5c030491f8338b.zip
mtk-20170518-51c6515896809b75b0c08b894a5c030491f8338b.tar.gz
mtk-20170518-51c6515896809b75b0c08b894a5c030491f8338b.tar.bz2
add missing mtd output message
SVN-Revision: 3199
Diffstat (limited to 'openwrt')
-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 bdc2f10..31b9924 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: