aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-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 b83c27a..fc5cc69 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 *