提交 a3b50531 编写于 作者: X xionglei6

init: fix codedex

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 5ba49af8
......@@ -211,7 +211,7 @@ static int main_cmd(BShellHandle shell, int argc, char **argv)
if (argc >= 2 && strcmp((char *)"--write_logo", argv[0]) == 0) { // 2 min arg
WriteLogoToMisc(argv[1]);
} else {
char *helpArgs[] = {(char *)"misc_daemon", NULL};
char *helpArgs[] = {static_cast<char *>("misc_daemon"), NULL};
BShellCmdHelp(shell, 1, helpArgs);
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册