From: Felix Fietkau Date: Thu, 9 Feb 2006 08:24:05 +0000 (+0000) Subject: add missing mtd output message X-Git-Tag: reboot~31114 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=51c6515896809b75b0c08b894a5c030491f8338b;p=openwrt%2Fstaging%2Fxback.git add missing mtd output message SVN-Revision: 3199 --- diff --git a/openwrt/package/mtd/mtd.c b/openwrt/package/mtd/mtd.c index bdc2f10f72..31b9924aa5 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: