aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/net/name6.c
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2000-03-15 15:07:35 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2000-03-15 15:07:35 +0000
commit67ea6a3b984227cfc8a9d7ca1ef8c04852109f90 (patch)
treec51702cc454550f71db86464633f6e7f9956e867 /lib/libc/net/name6.c
parentc4c4a69a45b60fd04cf23f636a1752451a96a904 (diff)
downloadsrc-67ea6a3b984227cfc8a9d7ca1ef8c04852109f90.tar.gz
src-67ea6a3b984227cfc8a9d7ca1ef8c04852109f90.zip
Merge rev 1.7, uninitialized variable fix.
Notes
Notes: svn path=/stable/4/; revision=58097
Diffstat (limited to 'lib/libc/net/name6.c')
-rw-r--r--lib/libc/net/name6.c2
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);