summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/net/gethostnamadr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c
index cd6a7dc894..f8f2ccd2d0 100644
--- a/src/lib/libc/net/gethostnamadr.c
+++ b/src/lib/libc/net/gethostnamadr.c
@@ -52,7 +52,7 @@
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint) 54#if defined(LIBC_SCCS) && !defined(lint)
55static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.36 1999/07/03 18:07:53 jakob Exp $"; 55static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.37 1999/09/03 18:12:31 deraadt Exp $";
56#endif /* LIBC_SCCS and not lint */ 56#endif /* LIBC_SCCS and not lint */
57 57
58#include <sys/param.h> 58#include <sys/param.h>
@@ -1009,7 +1009,7 @@ _yp_gethtbyaddr(addr)
1009 struct hostent *hp = (struct hostent *)NULL; 1009 struct hostent *hp = (struct hostent *)NULL;
1010 static char *__ypcurrent; 1010 static char *__ypcurrent;
1011 int __ypcurrentlen, r; 1011 int __ypcurrentlen, r;
1012 char name[sizeof("xxx.xxx.xxx.xxx") + 1]; 1012 char name[sizeof("xxx.xxx.xxx.xxx")];
1013 1013
1014 if (!__ypdomain) { 1014 if (!__ypdomain) {
1015 if (_yp_check(&__ypdomain) == 0) 1015 if (_yp_check(&__ypdomain) == 0)