This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[committed] Fix pthread_barrier_init typo.
- From: Torvald Riegel <triegel at redhat dot com>
- To: GLIBC Devel <libc-alpha at sourceware dot org>
- Date: Fri, 15 Jan 2016 23:05:59 +0100
- Subject: [committed] Fix pthread_barrier_init typo.
- Authentication-results: sourceware.org; auth=none
Applies Paul Eggert's fix for BZ 18868.
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;