diff options
Diffstat (limited to 'libc/netbsd/resolv/res_state.c')
-rw-r--r-- | libc/netbsd/resolv/res_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/netbsd/resolv/res_state.c b/libc/netbsd/resolv/res_state.c index e05846a93..efaa519a1 100644 --- a/libc/netbsd/resolv/res_state.c +++ b/libc/netbsd/resolv/res_state.c @@ -50,7 +50,7 @@ #endif static pthread_key_t _res_key; -static pthread_once_t _res_once; +static pthread_once_t _res_once = PTHREAD_ONCE_INIT; typedef struct { int _h_errno; |