未验证 提交 43d47a27 编写于 作者: O openharmony_ci 提交者: Gitee

!1011 fix: 修复shell_lk.c告警清零带来的逻辑修改

Merge pull request !1011 from 夏不白/module_fix
......@@ -145,7 +145,7 @@ INT32 CmdLog(INT32 argc, const CHAR **argv)
}
} else if (!strncmp(argv[0], "module", strlen(argv[0]) + 1)) {
module = strtoul(argv[1], &p, 0);
if ((*p != 0) || (module > MODULE4) || (module == MODULE0)) {
if ((*p != 0) || (module > MODULE4)) {
PRINTK("log %s can't access %s\n", argv[0], argv[1]);
PRINTK("not support yet\n");
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册