!997 Fix : 内核告警清理

Merge pull request !997 from yinjiaming/fix
This commit is contained in:
openharmony_ci
2022-09-22 11:33:00 +00:00
committed by Gitee
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ static UINT32 TestCase(VOID)
ioctl(fd, TRACE_STOP, NULL);
buffer = (char *)malloc(size);
buffer = static_cast<char *>(malloc(size));
if (buffer == NULL) {
printf("Read buffer malloc failed!\n");
goto EXIT;