!987 Fix : 内核告警清理

Merge pull request !987 from yinjiaming/fix
This commit is contained in:
openharmony_ci
2022-09-21 04:42:42 +00:00
committed by Gitee
155 changed files with 532 additions and 460 deletions

View File

@@ -404,7 +404,7 @@ STATIC VOID EchoToTerminal(CONSOLE_CB *consoleCB, struct file *filep, const stru
{
if (consoleCB->consoleTermios.c_lflag & ECHO) {
if (ch == '\b') {
(VOID)fops->write(filep, "\b \b", 3);
(VOID)fops->write(filep, "\b \b", 3); // 3: length of "\b \b"
} else {
(VOID)fops->write(filep, &ch, EACH_CHAR);
}