Fix typo that was causing a compiler warning.

Submitted by:	Alfred Perlstein
This commit is contained in:
Bill Paul 2001-02-23 20:04:20 +00:00
parent 0b1d793211
commit 15e0aafdc2

View File

@ -83,7 +83,7 @@ char *dom, *server;
errx(1, "can't find address for %s", server); errx(1, "can't find address for %s", server);
} else } else
bcopy (&server_addr, bcopy (&server_addr,
*(u_long *)&ypsd.ypsetdom_binding.ypbind_binding_addr, (u_long *)&ypsd.ypsetdom_binding.ypbind_binding_addr,
sizeof (server_addr)); sizeof (server_addr));
/* strncpy(ypsd.ypsetdom_domain, dom, sizeof ypsd.ypsetdom_domain); */ /* strncpy(ypsd.ypsetdom_domain, dom, sizeof ypsd.ypsetdom_domain); */