Explorar o código

mtd: fix typo in error message for 'c' option

Signed-off-by: Rafał Miłecki <[email protected]>
Rafał Miłecki %!s(int64=9) %!d(string=hai) anos
pai
achega
4b03e4ac3b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/system/mtd/src/mtd.c

+ 1 - 1
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;