diff options
Diffstat (limited to 'cpukit/score/src/corerwlockobtainread.c')
-rw-r--r-- | cpukit/score/src/corerwlockobtainread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c index 0dea50f1e8..73ebddf2df 100644 --- a/cpukit/score/src/corerwlockobtainread.c +++ b/cpukit/score/src/corerwlockobtainread.c @@ -83,7 +83,8 @@ void _CORE_RWLock_Obtain_for_reading( executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL; _Thread_queue_Enqueue_critical( - &the_rwlock->Wait_queue, + &the_rwlock->Wait_queue.Queue, + the_rwlock->Wait_queue.operations, executing, STATES_WAITING_FOR_RWLOCK, timeout, |