about summary refs log tree commit diff
path: root/nptl/herrno.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/herrno.c')
-rw-r--r--nptl/herrno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/herrno.c b/nptl/herrno.c
index 281c47eca7..9c91528095 100644
--- a/nptl/herrno.c
+++ b/nptl/herrno.c
@@ -23,12 +23,12 @@
 
 /* We need to have the error status variable of the resolver
    accessible in the libc.  */
-extern __thread int h_errno;
+extern __thread int __h_errno;
 
 
 /* When threaded, h_errno may be a per-thread variable.  */
 int *
 __h_errno_location (void)
 {
-  return &h_errno;
+  return &__h_errno;
 }