From 38af00e03bf8962b5e6f66858c39fa0150a59492 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 10 Feb 2004 07:56:11 +0000 Subject: Unbreak -h ; from FreeBSD. ok deraadt@ --- usr.sbin/ypset/ypset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c index b5fbd0c5dec..d0ba2ac6e67 100644 --- a/usr.sbin/ypset/ypset.c +++ b/usr.sbin/ypset/ypset.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypset.c,v 1.12 2003/07/18 22:58:56 david Exp $ */ +/* $OpenBSD: ypset.c,v 1.13 2004/02/10 07:56:10 otto Exp $ */ /* $NetBSD: ypset.c,v 1.8 1996/05/13 02:46:33 thorpej Exp $ */ /* @@ -28,7 +28,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypset.c,v 1.12 2003/07/18 22:58:56 david Exp $"; +static char rcsid[] = "$OpenBSD: ypset.c,v 1.13 2004/02/10 07:56:10 otto Exp $"; #endif #include @@ -136,7 +136,7 @@ main(int argc, char *argv[]) optarg); exit(1); } - bcopy(&hent->h_addr, &sin.sin_addr, + bcopy(hent->h_addr, &sin.sin_addr, sizeof(sin.sin_addr)); } break; -- cgit v1.2.3