提交 138b6c06 编写于 作者: X xionglei6

init: fix bugs

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 43766d78
......@@ -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[] = {static_cast<const char *>("misc_daemon"), NULL};
char *helpArgs[] = {const_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.
先完成此消息的编辑!
想要评论请 注册