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