]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix pthread_barrier_init typo.
authorTorvald Riegel <triegel@redhat.com>
Fri, 15 Jan 2016 21:40:50 +0000 (22:40 +0100)
committerTorvald Riegel <triegel@redhat.com>
Fri, 15 Jan 2016 22:00:19 +0000 (23:00 +0100)
Applies Paul Eggert's fix for BZ 18868.

ChangeLog
nptl/pthread_barrier_init.c

index 5d806648ef25c74f4d8a5e8bd69bf6cddaf2257f..13d8175bea45003895ad67adb4723e3ad5848bc5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-15  Torvald Riegel  <triegel@redhat.com>
+
+       [BZ #18868]
+       * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
+
 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
 
        * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
index 8f89df12ca3f475aa24c1c63ca42117b7b28e1c7..822e17e49549ebba1d5b693dab9a71602149b19e 100644 (file)
@@ -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;