From patchwork Tue Oct 21 17:18:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 3310 Received: (qmail 22816 invoked by alias); 21 Oct 2014 17:18:49 -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 22796 invoked by uid 89); 21 Oct 2014 17:18:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "Joseph S. Myers" Cc: "GNU C. Library" Subject: Re: [COMMITTED PATCH] NPTL: Clean up gratuitous Linuxism in libpthread.so entry point. In-Reply-To: Joseph S. Myers's message of Tuesday, 21 October 2014 00:44:31 +0000 References: <20141020215700.252102C3B0A@topped-with-meat.com> Message-Id: <20141021171842.DAEEF2C3B04@topped-with-meat.com> Date: Tue, 21 Oct 2014 10:18:42 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=fMXzNj4NAZUPkcYyXZAA:9 a=CjuIK1q_8ugA:10 a=csXtO91z4CYA:10 a=pdYreWjMvI4A:10 a=49ptP39-uuYA:10 Oops. Fixed thusly. Thanks, Roland 2014-10-21 Roland McGrath * nptl/version.c (__nptl_main): Call __libc_write, not __write. --- a/nptl/version.c +++ b/nptl/version.c @@ -38,6 +38,6 @@ __attribute__ ((noreturn)) void __nptl_main (void) { - __write (STDOUT_FILENO, (const char *) banner, sizeof banner - 1); + __libc_write (STDOUT_FILENO, banner, sizeof banner - 1); _exit (0); }