提交 7b833fb8 编写于 作者: 张文迪

fix updater /data

Signed-off-by: N张文迪 <zhangwendi3@huawei.com>
上级 9951551e
......@@ -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.
先完成此消息的编辑!
想要评论请 注册