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 bdc2f10f72d33132bd4469e1e63d9d47fef7c041..31b9924aa50b7879e365a00c44f0cb05758c5cec 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: