From 3fc5a06bc627801879b45261be02a43afc8c9a38 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/openwrt@3199 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mtd/mtd.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.2.3