diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c index 86ac501ca3..a30bbb7f8d 100644 --- a/cpukit/score/src/coremutexsurrender.c +++ b/cpukit/score/src/coremutexsurrender.c @@ -47,7 +47,7 @@ * Check whether the holder release the mutex in LIFO order if not return * error code. */ - if ( _Chain_First( holder->lock_mutex ) != &mutex->queue.lock_queue ) { + if ( _Chain_First( &holder->lock_mutex ) != &mutex->queue.lock_queue ) { mutex->nest_count++; return CORE_MUTEX_RELEASE_NOT_ORDER;