!489 fix: 解决los_pm.c:743:19: warning 编译告警

Merge pull request !489 from kenneth/cherry-pick-1640160304
This commit is contained in:
openharmony_ci 2021-12-23 07:11:28 +00:00 committed by Gitee
commit b31437fe27
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ UINT32 LOS_PmReadLock(VOID)
{
UINT32 ret = LOS_EventRead(&g_pmEvent, PM_EVENT_LOCK_MASK, LOS_WAITMODE_OR | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER);
if (ret > PM_EVENT_LOCK_MASK) {
PRINT_ERR("%s event read failed! ERROR: 0x%x\n", ret);
PRINT_ERR("%s event read failed! ERROR: 0x%x\n", __FUNCTION__, ret);
}
return LOS_OK;