diff options
Diffstat (limited to 'cpukit/posix/src/mutex.c')
-rw-r--r-- | cpukit/posix/src/mutex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/mutex.c b/cpukit/posix/src/mutex.c index eaa946fcfd..037791a252 100644 --- a/cpukit/posix/src/mutex.c +++ b/cpukit/posix/src/mutex.c @@ -635,7 +635,9 @@ int pthread_mutex_setprioceiling( /* XXX It feels questionable to set the ceiling on a remote mutex. */ return EINVAL; case OBJECTS_LOCAL: - *old_ceiling = the_mutex->Mutex.Attributes.priority_ceiling; + *old_ceiling = _POSIX_Priority_From_core( + the_mutex->Mutex.Attributes.priority_ceiling + ); the_mutex->Mutex.Attributes.priority_ceiling = the_priority; _CORE_mutex_Surrender( &the_mutex->Mutex, |