diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2012-05-10 14:50:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-05-10 15:57:24 -0700 |
commit | be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (patch) | |
tree | 6b30a52fdbc036f34167cb1cbf1236a0e792d022 /sysdeps/posix | |
parent | 37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca (diff) | |
download | glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar.gz glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.tar.xz glibc-be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e.zip |
Hurd: libc_once_get
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 1a023f91f5..2eca2ae0e4 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); |