summaryrefslogtreecommitdiff
path: root/cpukit/posix/src/mutexlocksupp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/mutexlocksupp.c')
-rw-r--r--cpukit/posix/src/mutexlocksupp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/posix/src/mutexlocksupp.c b/cpukit/posix/src/mutexlocksupp.c
index cccb2d31b3..d3d07f68e8 100644
--- a/cpukit/posix/src/mutexlocksupp.c
+++ b/cpukit/posix/src/mutexlocksupp.c
@@ -88,11 +88,12 @@ int _POSIX_Mutex_Lock_support(
break;
default:
_Assert( the_mutex->protocol == POSIX_MUTEX_PRIORITY_INHERIT );
- status = _CORE_mutex_Seize(
- &the_mutex->Mutex.Recursive.Mutex,
+ status = _CORE_recursive_mutex_Seize(
+ &the_mutex->Mutex.Recursive,
executing,
wait,
timeout,
+ _POSIX_Mutex_Lock_nested,
&queue_context
);
break;