Skip to content

Commit c7af45b

Browse files
msh中的mkfs命令再携带类型是,解析出错
1 parent c2b5cd1 commit c7af45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/finsh/msh_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ int cmd_mkfs(int argc, char **argv)
234234
if (strcmp(argv[1], "-t") == 0)
235235
{
236236
type = argv[2];
237-
result = dfs_mkfs(type, argv[1]);
237+
result = dfs_mkfs(type, argv[3]);
238238
}
239239
}
240240
else

0 commit comments

Comments
 (0)