diff options
Diffstat (limited to 'resolv/res_libc.c')
-rw-r--r-- | resolv/res_libc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_libc.c b/resolv/res_libc.c index 763a887..a700e9d 100644 --- a/resolv/res_libc.c +++ b/resolv/res_libc.c @@ -72,7 +72,7 @@ res_init(void) { #if USE___THREAD /* With __thread support, this per-thread variable is used in all cases. */ -__thread struct __res_state _res; +__thread struct __res_state _res = { ._vcsock = -1 }; extern __thread struct __res_state __libc_res __attribute__ ((alias ("_res"))) attribute_hidden; # define _res __libc_res |