diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index 4777977fe..ffd3fe8c4 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -3645,11 +3645,11 @@ res_init(void) */ if (!_res.id) _res.id = res_randomid(); - __res_sync = res_sync_func; __UCLIBC_MUTEX_UNLOCK(__resolv_lock); __res_vinit(&_res, 1); + __res_sync = res_sync_func; return 0; } |