aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_mutex.c
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-08-19 21:31:42 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-08-19 21:31:42 +0000
commitad7c49168f8b32fedbe11f4675cb7d4bd3b896e6 (patch)
tree67c1a39113f2a15d17e7af116bbeebff1d3c81d4 /lib/libpthread/thread/thr_mutex.c
parent7cd5160a0bfe59c045b702180490fdb4d1a423ea (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_mutex.c')
-rw-r--r--lib/libpthread/thread/thr_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_mutex.c b/lib/libpthread/thread/thr_mutex.c
index b502c15af818..e095ac5cc854 100644
--- a/lib/libpthread/thread/thr_mutex.c
+++ b/lib/libpthread/thread/thr_mutex.c
@@ -128,7 +128,7 @@ __pthread_mutex_init(pthread_mutex_t *mutex,
/* Check mutex type: */
else if (((*mutex_attr)->m_type < PTHREAD_MUTEX_ERRORCHECK) ||
- ((*mutex_attr)->m_type >= MUTEX_TYPE_MAX))
+ ((*mutex_attr)->m_type >= PTHREAD_MUTEX_TYPE_MAX))
/* Return an invalid argument error: */
ret = EINVAL;