[COMMITTED PATCH] NPTL: Clean up gratuitous Linuxism in libpthread.so entry point.
Roland McGrath
roland@hack.frob.com
Tue Oct 21 17:18:00 GMT 2014
Oops. Fixed thusly.
Thanks,
Roland
2014-10-21 Roland McGrath <roland@hack.frob.com>
* 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);
}
More information about the Libc-alpha
mailing list