diff options
Diffstat (limited to 'cpukit/score/src/corerwlockobtainwrite.c')
-rw-r--r-- | cpukit/score/src/corerwlockobtainwrite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index 76dfae2776..b5b31dcf27 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -73,7 +73,8 @@ void _CORE_RWLock_Obtain_for_writing( 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, |