[committed] Fix pthread_barrier_init typo.

Message ID 1452895559.26597.378.camel@localhost.localdomain
State Committed
Headers

Commit Message

Torvald Riegel Jan. 15, 2016, 10:05 p.m. UTC
  Applies Paul Eggert's fix for BZ 18868.
  

Patch

diff --git a/nptl/pthread_barrier_init.c b/nptl/pthread_barrier_init.c
index 8f89df1..822e17e 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;