aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-06-10 13:08:38 +0200
committerRafał Miłecki <zajec5@gmail.com>2016-06-11 01:37:49 +0200
commit4b03e4ac3bb68b6be5508de4ada07ca443f36a9d (patch)
tree838c822bf547c0d55c3df563e4586b762e95c877 /package/system/mtd
parentc40e96d133eefd15adcbe8c4e9d4905fd76d74c2 (diff)
downloadupstream-4b03e4ac3bb68b6be5508de4ada07ca443f36a9d.tar.gz
upstream-4b03e4ac3bb68b6be5508de4ada07ca443f36a9d.tar.bz2
upstream-4b03e4ac3bb68b6be5508de4ada07ca443f36a9d.zip
mtd: fix typo in error message for 'c' option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'package/system/mtd')
-rw-r--r--package/system/mtd/src/mtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c
index af544198cb..284c8791dd 100644
--- a/package/system/mtd/src/mtd.c
+++ b/package/system/mtd/src/mtd.c
@@ -859,7 +859,7 @@ int main (int argc, char **argv)
errno = 0;
data_size = strtoul(optarg, 0, 0);
if (errno) {
- fprintf(stderr, "-d: illegal numeric string\n");
+ fprintf(stderr, "-c: illegal numeric string\n");
usage();
}
break;