summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-02-23 20:04:20 +0000
committerwpaul <wpaul@FreeBSD.org>2001-02-23 20:04:20 +0000
commit256c4acb0bc88fef2e92bd0e4598774aa206e63c (patch)
tree382d2205f46c8096d942f7179653e4a4f496df72
parent1e88ca386bffcbae5e6b7b60bbdcd707648215ff (diff)
downloadFreeBSD-src-256c4acb0bc88fef2e92bd0e4598774aa206e63c.zip
FreeBSD-src-256c4acb0bc88fef2e92bd0e4598774aa206e63c.tar.gz
Fix typo that was causing a compiler warning.
Submitted by: Alfred Perlstein
-rw-r--r--usr.sbin/ypset/ypset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c
index 578138d9..b639ad9 100644
--- a/usr.sbin/ypset/ypset.c
+++ b/usr.sbin/ypset/ypset.c
@@ -83,7 +83,7 @@ char *dom, *server;
errx(1, "can't find address for %s", server);
} else
bcopy (&server_addr,
- *(u_long *)&ypsd.ypsetdom_binding.ypbind_binding_addr,
+ (u_long *)&ypsd.ypsetdom_binding.ypbind_binding_addr,
sizeof (server_addr));
/* strncpy(ypsd.ypsetdom_domain, dom, sizeof ypsd.ypsetdom_domain); */
OpenPOWER on IntegriCloud