diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-18 21:00:13 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-18 21:00:13 +0000 |
commit | e34e6324d6b7fe689b154f62d213f4a972506a36 (patch) | |
tree | b899ad6c75b019febb340e10e6413b606c9b986b /sys/nfs | |
parent | 39b44c7547bd7abf7a5b5232bb63686e00ac8907 (diff) |
convert one hot looking bcopy to memcpy
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_subs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index 581facd066f..bd60a8f85be 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.120 2014/12/18 20:59:21 tedu Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.121 2014/12/18 21:00:12 tedu Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -663,7 +663,7 @@ nfsm_mbuftouio(struct mbuf **mrep, struct uio *uiop, int siz, caddr_t *dpos) } xfer = (left > len) ? len : left; if (uiop->uio_segflg == UIO_SYSSPACE) - bcopy(mbufcp, uiocp, xfer); + memcpy(uiocp, mbufcp, xfer); else copyout(mbufcp, uiocp, xfer); left -= xfer; |