Skip to content

Commit b67ad86

Browse files
committed
Merge pull request #563 from www220/fix-15-10-12-1
[Finsh] Fix the mkfs command parameter issue.
2 parents c2b5cd1 + c7af45b commit b67ad86

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)