summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_mutex_protocol.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-04-18 05:04:16 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-04-18 05:04:16 +0000
commita0240e2cb0b1ef8e5b61930ac2b850c884daaba8 (patch)
tree46bc1e113ddc7c1ed88e4fa724039df8664c963a /lib/libpthread/thread/thr_mutex_protocol.c
parentb025fc9a31c85b9cde9969e1fea55ea4caf650d5 (diff)
Notes
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 f7be5a60605f..9f0f262667d8 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);
}