diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2004-02-09 00:10:18 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2004-02-09 00:10:18 +0000 |
| commit | 1a044973456ad91492769419212d259696ec5fb2 (patch) | |
| tree | c277f7441e577021cf2d6763adfe1f4398b01c42 | |
| parent | 7cb9663b270aed72006c9446560ecdf75ada6d52 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/ypset/ypset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c index 455b27378f6c..1296f3946fad 100644 --- a/usr.sbin/ypset/ypset.c +++ b/usr.sbin/ypset/ypset.c @@ -134,7 +134,7 @@ main(int argc, char *argv[]) hent = gethostbyname(optarg); if (hent == NULL) errx(1, "host %s unknown", optarg); - bcopy(&hent->h_addr_list[0], &sin.sin_addr, + bcopy(hent->h_addr_list[0], &sin.sin_addr, sizeof sin.sin_addr); } break; |
