From c1373a693cbb2470ad979134aadf8b24a8b89675 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 9 Feb 2006 08:24:05 +0000 Subject: add missing mtd output message git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3199 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/mtd/mtd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openwrt/package/mtd/mtd.c') 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: -- cgit v1.2.3