projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c40e96d
)
mtd: fix typo in error message for 'c' option
author
Rafał Miłecki
<zajec5@gmail.com>
Fri, 10 Jun 2016 11:08:38 +0000
(13:08 +0200)
committer
Rafał Miłecki
<zajec5@gmail.com>
Fri, 10 Jun 2016 23:37:49 +0000
(
01:37
+0200)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
package/system/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/system/mtd/src/mtd.c
b/package/system/mtd/src/mtd.c
index af544198cbe20fde7ba380ae42eea28ffeaefad7..284c8791ddff9e1f31f16bf9a766cd947c242213 100644
(file)
--- 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;