aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_barrier_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_barrier_init.c b/nptl/pthread_barrier_init.c
index 8f89df12ca..822e17e495 100644
--- a/nptl/pthread_barrier_init.c
+++ b/nptl/pthread_barrier_init.c
@@ -42,7 +42,7 @@ __pthread_barrier_init (pthread_barrier_t *barrier,
const struct pthread_barrierattr *iattr
= (attr != NULL
- ? iattr = (struct pthread_barrierattr *) attr
+ ? (struct pthread_barrierattr *) attr
: &default_barrierattr);
ibarrier = (struct pthread_barrier *) barrier;