msh中的mkfs命令再携带类型是,解析出错
This commit is contained in:
parent
c2b5cd1e85
commit
c7af45b759
|
@ -234,7 +234,7 @@ int cmd_mkfs(int argc, char **argv)
|
|||
if (strcmp(argv[1], "-t") == 0)
|
||||
{
|
||||
type = argv[2];
|
||||
result = dfs_mkfs(type, argv[1]);
|
||||
result = dfs_mkfs(type, argv[3]);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue