未验证 提交 33f95ec8 编写于 作者: O openharmony_ci 提交者: Gitee

!1079 fix update /data

Merge pull request !1079 from 张文迪/update
......@@ -105,7 +105,7 @@ int DoFormat(const char *devPath, const char *fsType)
ret = ExecCommand(argc, argv);
} else if (strcmp(fsType, "f2fs") == 0) {
char *formatCmds[] = {
"/bin/make_f2fs", (char *)devPath, NULL
"/bin/mkfs.f2fs", (char *)devPath, NULL
};
int argc = ARRAY_LENGTH(formatCmds);
char **argv = (char **)formatCmds;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册