From 36a6f58ac56c3ae6f566215fd4fa13f838091f1e Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Sat, 18 May 2013 14:38:02 -0400 Subject: [PATCH] score: use reference with strict mutex --- cpukit/score/src/coremutexsurrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;