aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-29 05:28:16 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-29 05:28:16 +0000
commit5a77f1501d9031c0fd8bad1d5a04b0379a99c029 (patch)
tree36bf83b77b24fe1fee6325f139c2cd083fc5e8c2 /nptl/sysdeps
parent2bcba929d2922a21ce5335014de0919d43315b7e (diff)
downloadglibc-5a77f1501d9031c0fd8bad1d5a04b0379a99c029.tar
glibc-5a77f1501d9031c0fd8bad1d5a04b0379a99c029.tar.gz
glibc-5a77f1501d9031c0fd8bad1d5a04b0379a99c029.tar.bz2
glibc-5a77f1501d9031c0fd8bad1d5a04b0379a99c029.zip
Update.
2003-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_broadcast.c (__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/pthread/pthread_cond_broadcast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/pthread/pthread_cond_broadcast.c b/nptl/sysdeps/pthread/pthread_cond_broadcast.c
index f34f58cc99..6c3722a9cd 100644
--- a/nptl/sysdeps/pthread/pthread_cond_broadcast.c
+++ b/nptl/sysdeps/pthread/pthread_cond_broadcast.c
@@ -56,13 +56,13 @@ __pthread_cond_broadcast (cond)
/* Wake everybody. */
pthread_mutex_t *mut = (pthread_mutex_t *) cond->__data.__mutex;
- if (__builtin_expect (lll_futex_requeue (futex, 1, MAX_INT,
+ if (__builtin_expect (lll_futex_requeue (futex, 1, INT_MAX,
&mut->__data.__lock) == -EINVAL,
0))
{
/* The requeue functionality is not available. */
#ifndef __ASSUME_FUTEX_REQUEUE
- lll_futex_wake (futex, MAX_INT);
+ lll_futex_wake (futex, INT_MAX);
#endif
}