diff options
Diffstat (limited to 'src/threads/mtx_unlock.c')
| -rw-r--r-- | src/threads/mtx_unlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threads/mtx_unlock.c b/src/threads/mtx_unlock.c index 5998f8c9..0e4abfab 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); + return mtx_unlock(mtx) == 0 ? thrd_success : thrd_error; } |
