Merge pull request #563 from www220/fix-15-10-12-1
[Finsh] Fix the mkfs command parameter issue.
This commit is contained in:
commit
b67ad86ec3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue