summary refs log tree commit diff
path: root/resolv/res_libc.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_libc.c')
-rw-r--r--resolv/res_libc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
index b83c27aaae..fc5cc691ba 100644
--- a/resolv/res_libc.c
+++ b/resolv/res_libc.c
@@ -89,7 +89,7 @@ res_init(void) {
 
 #undef _res
 
-struct __res_state _res;
+struct __res_state _res = { _sock : -1 };
 
 
 struct __res_state *