summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/prwlockrdlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/prwlockrdlock.c')
-rw-r--r--cpukit/posix/src/prwlockrdlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlockrdlock.c b/cpukit/posix/src/prwlockrdlock.c
index 24adcb451c..621a7f84a4 100644
--- a/cpukit/posix/src/prwlockrdlock.c
+++ b/cpukit/posix/src/prwlockrdlock.c
@@ -56,7 +56,7 @@ int pthread_rwlock_rdlock(
NULL
);
- _Thread_Enable_dispatch();
+ _Objects_Put( &the_rwlock->Object );
return _POSIX_RWLock_Translate_core_RWLock_return_code(
(CORE_RWLock_Status) _Thread_Executing->Wait.return_code
);