[COMMITTED] NPTL: Clean up gratuitous Linuxism in libpthread.so entry point.

Message ID 20141021171842.DAEEF2C3B04@topped-with-meat.com
State Committed
Headers

Commit Message

Roland McGrath Oct. 21, 2014, 5:18 p.m. UTC
  Oops.  Fixed thusly.

Thanks,
Roland


2014-10-21  Roland McGrath  <roland@hack.frob.com>

	* nptl/version.c (__nptl_main): Call __libc_write, not __write.
  

Patch

--- 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);
 }