From patchwork Fri Jan 15 22:05:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Torvald Riegel X-Patchwork-Id: 10399 Received: (qmail 113080 invoked by alias); 15 Jan 2016 22:06:05 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 113063 invoked by uid 89); 15 Jan 2016 22:06:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=42, 7, H*MI:localhost X-HELO: mx1.redhat.com Message-ID: <1452895559.26597.378.camel@localhost.localdomain> Subject: [committed] Fix pthread_barrier_init typo. From: Torvald Riegel To: GLIBC Devel Date: Fri, 15 Jan 2016 23:05:59 +0100 Mime-Version: 1.0 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;