!1013 fix: 同步修复shell_lk.c告警清零带来的逻辑修改
Merge pull request !1013 from 夏不白/cherry-pick-1664185256
This commit is contained in:
commit
7fb54d9c15
|
@ -145,7 +145,7 @@ INT32 CmdLog(INT32 argc, const CHAR **argv)
|
||||||
}
|
}
|
||||||
} else if (!strncmp(argv[0], "module", strlen(argv[0]) + 1)) {
|
} else if (!strncmp(argv[0], "module", strlen(argv[0]) + 1)) {
|
||||||
module = strtoul(argv[1], &p, 0);
|
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("log %s can't access %s\n", argv[0], argv[1]);
|
||||||
PRINTK("not support yet\n");
|
PRINTK("not support yet\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue