!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
commit 453c376198
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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;

View File

@ -38,7 +38,7 @@
#include "unistd.h"
#include "search.h"
#define MISC_OK 0
#define MISC_NOK -1
#define MISC_NOK (-1)
extern VOID ItTestMisc001(VOID);
extern VOID ItTestMisc002(VOID);