chore: 修复社区反馈问题Percpu结构体注释错误
修复社区反馈问题Percpu结构体注释错误,排查下其他拼写错误。 close #I4GMLH Signed-off-by: kenneth <zhushangyuan@huawei.com>
This commit is contained in:
@@ -88,16 +88,16 @@ STATIC VOID UartOutput(const CHAR *str, UINT32 len, BOOL isLock)
|
||||
#ifdef LOSCFG_PLATFORM_CONSOLE
|
||||
STATIC VOID ConsoleOutput(const CHAR *str, UINT32 len)
|
||||
{
|
||||
ssize_t writen = 0;
|
||||
ssize_t written = 0;
|
||||
ssize_t cnt;
|
||||
ssize_t toWrite = len;
|
||||
|
||||
for (;;) {
|
||||
cnt = write(STDOUT_FILENO, str + writen, (size_t)toWrite);
|
||||
cnt = write(STDOUT_FILENO, str + written, (size_t)toWrite);
|
||||
if ((cnt < 0) || ((cnt == 0) && (OS_INT_ACTIVE)) || (toWrite == cnt)) {
|
||||
break;
|
||||
}
|
||||
writen += cnt;
|
||||
written += cnt;
|
||||
toWrite -= cnt;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user