diff options
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/net/name6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index 35039e0beb69..e87f40fbed2b 100644 --- a/lib/libc/net/name6.c +++ b/lib/libc/net/name6.c @@ -840,7 +840,7 @@ _files_ghbyaddr(const void *addr, int addrlen, int af, int *errp) static struct hostent * _nis_ghbyname(const char *name, int af, int *errp) { - struct hostent *hp; + struct hostent *hp = NULL; if (af == AF_INET) { hp = _gethostbynisname(name, af); |
