1 --- a/libc/inet/resolv.c
2 +++ b/libc/inet/resolv.c
3 @@ -1700,7 +1700,7 @@ void sethostent (int stay_open)
4 int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
5 struct hostent **result, int *h_errnop)
8 + int ret = HOST_NOT_FOUND;
10 __UCLIBC_MUTEX_LOCK(mylock);
11 if (__gethostent_fp == NULL) {