msh中的mkfs命令再携带类型是,解析出错

This commit is contained in:
www220@tom.com 2015-10-12 15:55:52 +08:00
parent c2b5cd1e85
commit c7af45b759
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)
{
type = argv[2];
result = dfs_mkfs(type, argv[1]);
result = dfs_mkfs(type, argv[3]);
}
}
else