summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/yppoll/yppoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c
index ce2c8b26eea..6d0cbbc8848 100644
--- a/usr.sbin/yppoll/yppoll.c
+++ b/usr.sbin/yppoll/yppoll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yppoll.c,v 1.2 1996/05/22 12:13:00 deraadt Exp $ */
+/* $OpenBSD: yppoll.c,v 1.3 1997/06/23 01:05:10 deraadt Exp $ */
/* $NetBSD: yppoll.c,v 1.5 1996/05/13 02:46:36 thorpej Exp $ */
/*
@@ -36,7 +36,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: yppoll.c,v 1.2 1996/05/22 12:13:00 deraadt Exp $";
+static char rcsid[] = "$Id: yppoll.c,v 1.3 1997/06/23 01:05:10 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -93,7 +93,7 @@ get_remote_info(indomain, inmap, server, outorder, outname)
exit(1);
}
} else {
- rsrv_sin.sin_addr.s_addr = *(u_long *)h->h_addr;
+ rsrv_sin.sin_addr.s_addr = *(u_int32_t *)h->h_addr;
}
tv.tv_sec = 10;