aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2016-01-15 22:40:50 +0100
committerTorvald Riegel <triegel@redhat.com>2016-01-15 23:00:19 +0100
commit12c3bb770dd3ea11215baf23b385dbf297a2a85c (patch)
tree72018ab7eca6756d1ec41b3a0ed1221e99f4e4b1 /nptl
parent72276d6e8843db6df5971b06787f0a5e39bda138 (diff)
downloadglibc-12c3bb770dd3ea11215baf23b385dbf297a2a85c.tar
glibc-12c3bb770dd3ea11215baf23b385dbf297a2a85c.tar.gz
glibc-12c3bb770dd3ea11215baf23b385dbf297a2a85c.tar.bz2
glibc-12c3bb770dd3ea11215baf23b385dbf297a2a85c.zip
Fix pthread_barrier_init typo.
Applies Paul Eggert's fix for BZ 18868.
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;