diff options
Diffstat (limited to 'cpukit/score/src/corerwlock.c')
-rw-r--r-- | cpukit/score/src/corerwlock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/src/corerwlock.c b/cpukit/score/src/corerwlock.c index 51ae2c70df..9ebb796ac4 100644 --- a/cpukit/score/src/corerwlock.c +++ b/cpukit/score/src/corerwlock.c @@ -27,6 +27,5 @@ void _CORE_RWLock_Initialize( { the_rwlock->number_of_readers = 0; the_rwlock->current_state = CORE_RWLOCK_UNLOCKED; - - _Thread_queue_Object_initialize( &the_rwlock->Wait_queue ); + _Thread_queue_Queue_initialize( &the_rwlock->Queue.Queue, NULL ); } |