diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-02-09 08:24:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-02-09 08:24:05 +0000 |
commit | aa347a0490e29457fc476741030c3b899bedef7e (patch) | |
tree | 8429f564144d7350351736856dc6557819e2cc00 /package/mtd | |
parent | 224d04097f4dc5a73059229a741fbcd19dc5d676 (diff) | |
download | master-187ad058-aa347a0490e29457fc476741030c3b899bedef7e.tar.gz master-187ad058-aa347a0490e29457fc476741030c3b899bedef7e.tar.bz2 master-187ad058-aa347a0490e29457fc476741030c3b899bedef7e.zip |
add missing mtd output message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mtd')
-rw-r--r-- | package/mtd/mtd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mtd/mtd.c b/package/mtd/mtd.c index bdc2f10f72..31b9924aa5 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: |