fix: correct spelling

correct type in los_memory.c

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3PYC3
This commit is contained in:
rtos-lover 2021-05-08 10:06:01 +08:00
parent 167b4d0c37
commit e7ea50f131
1 changed files with 2 additions and 2 deletions

View File

@ -1803,10 +1803,10 @@ STATIC VOID OsMemIntegrityCheckError(struct OsMemPoolHead *pool,
MEM_UNLOCK(pool, intSave);
PRINT_ERR("cur node: 0x%x, pre node: 0x%x, pre node was allocated by task: %d, %s\n",
tmpNode, preNode, taskCB->taskID, taskCB->taskName);
LOS_Panic("Memory interity check error!\n");
LOS_Panic("Memory integrity check error!\n");
#else
MEM_UNLOCK(pool, intSave);
LOS_Panic("Memory interity check error, cur node: 0x%x, pre node: 0x%x\n", tmpNode, preNode);
LOS_Panic("Memory integrity check error, cur node: 0x%x, pre node: 0x%x\n", tmpNode, preNode);
#endif
}