cherry pick bca2645
from https://gitee.com/hw_llm/kernel_liteos_a/pulls/1210
cherry pick 2ac53f2
from https://gitee.com/hw_llm/kernel_liteos_a/pulls/1209
Description: shell lk 漏洞修复
IssueNo: https://gitee.com/openharmony/kernel_liteos_a/issues/IAKVF0
Feature Or Bugfix: Feature
Binary Source: No
Signed-off-by: hw_llm <liu.limin@huawei.com>
This commit is contained in:
parent
a0088a2e53
commit
fef87f5da8
|
@ -154,7 +154,6 @@ INT32 CmdLog(INT32 argc, const CHAR **argv)
|
|||
PRINTK("not support yet\n");
|
||||
}
|
||||
} else if (!strncmp(argv[0], "path", strlen(argv[0]) + 1)) {
|
||||
OsLkLogFileSet(argv[1]);
|
||||
PRINTK("not support yet\n");
|
||||
} else {
|
||||
PRINTK("Usage: log level <num>\n");
|
||||
|
|
Loading…
Reference in New Issue