aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 14:50:14 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:24 -0700
commitbe971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (patch)
tree6b30a52fdbc036f34167cb1cbf1236a0e792d022 /sysdeps/posix
parent37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca (diff)
downloadglibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.zip
glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar.gz
glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar.bz2
Hurd: libc_once_get
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index 1a023f9..2eca2ae 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -2604,7 +2604,7 @@ getaddrinfo (const char *name, const char *service,
__libc_lock_define_initialized (static, lock);
__libc_lock_lock (lock);
- if (old_once && gaiconf_reload_flag)
+ if (__libc_once_get (old_once) && gaiconf_reload_flag)
gaiconf_reload ();
qsort_r (order, nresults, sizeof (order[0]), rfc3484_sort, &src);
__libc_lock_unlock (lock);