summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_mutex_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_mutex_protocol.c')
-rw-r--r--lib/libpthread/thread/thr_mutex_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_mutex_protocol.c b/lib/libpthread/thread/thr_mutex_protocol.c
index f7be5a6..9f0f262 100644
--- a/lib/libpthread/thread/thr_mutex_protocol.c
+++ b/lib/libpthread/thread/thr_mutex_protocol.c
@@ -63,7 +63,7 @@ _pthread_mutexattr_setprotocol(pthread_mutexattr_t *mattr, int protocol)
ret = EINVAL;
else {
(*mattr)->m_protocol = protocol;
- (*mattr)->m_ceiling = PTHREAD_MAX_PRIORITY;
+ (*mattr)->m_ceiling = THR_MAX_PRIORITY;
}
return(ret);
}
OpenPOWER on IntegriCloud