summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/prwlockunlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/prwlockunlock.c')
-rw-r--r--cpukit/posix/src/prwlockunlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlockunlock.c b/cpukit/posix/src/prwlockunlock.c
index 13fc6dcc57..b7cd360464 100644
--- a/cpukit/posix/src/prwlockunlock.c
+++ b/cpukit/posix/src/prwlockunlock.c
@@ -54,7 +54,7 @@ int pthread_rwlock_unlock(
switch ( location ) {
case OBJECTS_LOCAL:
- status = _CORE_RWLock_Release( &the_rwlock->RWLock );
+ status = _CORE_RWLock_Release( &the_rwlock->RWLock, _Thread_Executing );
_Objects_Put( &the_rwlock->Object );
return _POSIX_RWLock_Translate_core_RWLock_return_code( status );