summaryrefslogtreecommitdiff
path: root/src/threads/mtx_unlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/mtx_unlock.c')
-rw-r--r--src/threads/mtx_unlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threads/mtx_unlock.c b/src/threads/mtx_unlock.c
index 0e4abfab..509a3f86 100644
--- a/src/threads/mtx_unlock.c
+++ b/src/threads/mtx_unlock.c
@@ -3,5 +3,5 @@
int mtx_unlock(mtx_t *mtx)
{
- return mtx_unlock(mtx) == 0 ? thrd_success : thrd_error;
+ return pthread_mutex_unlock(mtx) == 0 ? thrd_success : thrd_error;
}