summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutexunlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/mutexunlock.c')
-rw-r--r--cpukit/posix/src/mutexunlock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/posix/src/mutexunlock.c b/cpukit/posix/src/mutexunlock.c
index 5404cef187..3144314e5c 100644
--- a/cpukit/posix/src/mutexunlock.c
+++ b/cpukit/posix/src/mutexunlock.c
@@ -62,8 +62,9 @@ int pthread_mutex_unlock(
break;
default:
_Assert( the_mutex->protocol == POSIX_MUTEX_PRIORITY_INHERIT );
- status = _CORE_mutex_Surrender(
- &the_mutex->Mutex.Recursive.Mutex,
+ status = _CORE_recursive_mutex_Surrender(
+ &the_mutex->Mutex.Recursive,
+ executing,
&queue_context
);
break;