summaryrefslogtreecommitdiff
path: root/package/system
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
parentc40e96d133eefd15adcbe8c4e9d4905fd76d74c2 (diff)
downloadmtk-20170518-4b03e4ac3bb68b6be5508de4ada07ca443f36a9d.zip
mtk-20170518-4b03e4ac3bb68b6be5508de4ada07ca443f36a9d.tar.gz
mtk-20170518-4b03e4ac3bb68b6be5508de4ada07ca443f36a9d.tar.bz2
mtd: fix typo in error message for 'c' option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'package/system')
-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 af54419..284c879 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;