提交 3aedfdfb 编写于 作者: J jp9000

Fix wrong linux function

Used the mac function instead by accident
上级 5e1cac68
......@@ -217,7 +217,7 @@ int os_sem_init(os_sem_t *sem, int value)
void os_sem_destroy(os_sem_t sem)
{
if (sem) {
semaphore_destroy(&sem->sem);
sem_destroy(&sem->sem);
bfree(sem);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册