summaryrefslogtreecommitdiff
path: root/nptl/pthread_barrier_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_barrier_destroy.c')
-rw-r--r--nptl/pthread_barrier_destroy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_barrier_destroy.c b/nptl/pthread_barrier_destroy.c
index 60fe2dfbff..c59a861221 100644
--- a/nptl/pthread_barrier_destroy.c
+++ b/nptl/pthread_barrier_destroy.c
@@ -32,7 +32,7 @@ pthread_barrier_destroy (barrier)
lll_lock (ibarrier->lock, ibarrier->private ^ FUTEX_PRIVATE_FLAG);
- if (__builtin_expect (ibarrier->left == ibarrier->init_count, 1))
+ if (__glibc_likely (ibarrier->left == ibarrier->init_count))
/* The barrier is not used anymore. */
result = 0;
else