diff options
Diffstat (limited to 'cpukit/posix/src/prwlockunlock.c')
-rw-r--r-- | cpukit/posix/src/prwlockunlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlockunlock.c b/cpukit/posix/src/prwlockunlock.c index 9b61a5c897..5dc70995e8 100644 --- a/cpukit/posix/src/prwlockunlock.c +++ b/cpukit/posix/src/prwlockunlock.c @@ -51,7 +51,7 @@ int pthread_rwlock_unlock( switch ( location ) { case OBJECTS_LOCAL: - status = _CORE_RWLock_Release( &the_rwlock->RWLock, _Thread_Executing ); + status = _CORE_RWLock_Surrender( &the_rwlock->RWLock, _Thread_Executing ); _Objects_Put( &the_rwlock->Object ); return _POSIX_RWLock_Translate_core_RWLock_return_code( status ); |