summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2001-06-01 15:20:45 +0000
committerIan Dowse <iedowse@FreeBSD.org>2001-06-01 15:20:45 +0000
commita8634a00099f3be68410b8ca1888e1bf72305d1e (patch)
treeb970a1b2a8c773d94a9dd909b326b57d9b43b558 /lib/libc
parentf66c1ecf8fa9521745cf5d7516d43a63b4714ce8 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/clnt_vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c
index 38c9ceb3e57e..6cdaad1e4b93 100644
--- a/lib/libc/rpc/clnt_vc.c
+++ b/lib/libc/rpc/clnt_vc.c
@@ -257,7 +257,7 @@ clnt_vc_create(fd, raddr, prog, vers, sendsz, recvsz)
ct->ct_addr.buf = malloc(raddr->maxlen);
if (ct->ct_addr.buf == NULL)
goto err;
- memcpy(ct->ct_addr.buf, &raddr->buf, raddr->len);
+ memcpy(ct->ct_addr.buf, raddr->buf, raddr->len);
ct->ct_addr.len = raddr->maxlen;
ct->ct_addr.maxlen = raddr->maxlen;