add missing mtd output message
authorFelix Fietkau <nbd@openwrt.org>
Thu, 9 Feb 2006 08:24:05 +0000 (08:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 9 Feb 2006 08:24:05 +0000 (08:24 +0000)
SVN-Revision: 3199

openwrt/package/mtd/mtd.c

index bdc2f10..31b9924 100644 (file)
@@ -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: