diff options
Diffstat (limited to 'cpukit/score/src/debugisownerofallocator.c')
-rw-r--r-- | cpukit/score/src/debugisownerofallocator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/debugisownerofallocator.c b/cpukit/score/src/debugisownerofallocator.c index 57da2ca001..6b396df4fc 100644 --- a/cpukit/score/src/debugisownerofallocator.c +++ b/cpukit/score/src/debugisownerofallocator.c @@ -27,7 +27,7 @@ bool owner; if ( mutex != NULL ) { - owner = mutex->Mutex.holder == _Thread_Get_executing(); + owner = _API_Mutex_Is_owner( mutex ); } else { owner = false; } |