提交 43766d78 编写于 作者: X xionglei6

init: fix bugs

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