Просмотр исходного кода

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

Signed-off-by: Rafał Miłecki <[email protected]>
Rafał Miłecki 9 лет назад
Родитель
Сommit
4b03e4ac3b
1 измененных файлов с 1 добавлено и 1 удалено
  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;
 				errno = 0;
 				data_size = strtoul(optarg, 0, 0);
 				data_size = strtoul(optarg, 0, 0);
 				if (errno) {
 				if (errno) {
-					fprintf(stderr, "-d: illegal numeric string\n");
+					fprintf(stderr, "-c: illegal numeric string\n");
 					usage();
 					usage();
 				}
 				}
 				break;
 				break;