Merge pull request #563 from www220/fix-15-10-12-1

[Finsh] Fix the mkfs command parameter issue.
This commit is contained in:
Bernard Xiong 2015-10-12 16:41:08 +08:00
commit b67ad86ec3
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ int cmd_mkfs(int argc, char **argv)
if (strcmp(argv[1], "-t") == 0) if (strcmp(argv[1], "-t") == 0)
{ {
type = argv[2]; type = argv[2];
result = dfs_mkfs(type, argv[1]); result = dfs_mkfs(type, argv[3]);
} }
} }
else else