diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-09 08:24:05 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-02-09 08:24:05 +0000 |
commit | c1373a693cbb2470ad979134aadf8b24a8b89675 (patch) | |
tree | 549f242bd51187b49a2b7b16e11f71995746bce0 /openwrt/package/mtd/mtd.c | |
parent | 9e3ab7a0fb2efc08fa3e4c242ba8cbdd3904e23f (diff) |
add missing mtd output message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/mtd/mtd.c')
-rw-r--r-- | openwrt/package/mtd/mtd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/mtd/mtd.c b/openwrt/package/mtd/mtd.c index bdc2f10f7..31b9924aa 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: |