Fix pthread_barrier_init typo.

Applies Paul Eggert's fix for BZ 18868.
This commit is contained in:
Torvald Riegel 2016-01-15 22:40:50 +01:00
parent 72276d6e88
commit 12c3bb770d
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View 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;