summaryrefslogtreecommitdiff
path: root/pthread_mutex_trylock.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_mutex_trylock.c')
-rw-r--r--pthread_mutex_trylock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_mutex_trylock.c b/pthread_mutex_trylock.c
index 8f98661..f51c34c 100644
--- a/pthread_mutex_trylock.c
+++ b/pthread_mutex_trylock.c
@@ -138,7 +138,7 @@ pthread_mutex_trylock (pthread_mutex_t * mutex)
}
else
{
- if (EOWNERDEAD == (result = ptw32_robust_mutex_inherit(mutex, self)))
+ if (EOWNERDEAD == (result = ptw32_robust_mutex_inherit(mutex)))
{
mx->recursive_count = 1;
#if 1