aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-10-21 10:18:17 -0700
committerRoland McGrath <roland@hack.frob.com>2014-10-21 10:18:17 -0700
commitf05e73f660d5cc3a72b46047c829ccf5e096c88b (patch)
tree0cc9c63bbfe049aebcac00b9f72e7918c6e8d255 /nptl
parent6ab1d1ea969df0698ee413a247948fc035e12276 (diff)
downloadglibc-f05e73f660d5cc3a72b46047c829ccf5e096c88b.tar
glibc-f05e73f660d5cc3a72b46047c829ccf5e096c88b.tar.gz
glibc-f05e73f660d5cc3a72b46047c829ccf5e096c88b.tar.bz2
glibc-f05e73f660d5cc3a72b46047c829ccf5e096c88b.zip
Avoid local PLT reference in __nptl_main.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/version.c b/nptl/version.c
index b2095b41ad..1df7d8e2c9 100644
--- 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);
}