about summary refs log tree commit diff
path: root/linuxthreads/libc-tls-loc.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/libc-tls-loc.c')
-rw-r--r--linuxthreads/libc-tls-loc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/libc-tls-loc.c b/linuxthreads/libc-tls-loc.c
index a8d1b4e7fd..a0a4b1b07d 100644
--- a/linuxthreads/libc-tls-loc.c
+++ b/linuxthreads/libc-tls-loc.c
@@ -43,7 +43,7 @@ __h_errno_location (void)
 struct __res_state *
 __res_state (void)
 {
-  return &_res;
+  return __resp;
 }
 
 #endif