summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypset
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypset')
-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