From: tedu Date: Thu, 18 Dec 2014 21:00:12 +0000 (+0000) Subject: convert one hot looking bcopy to memcpy X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8cc886957bd19a8e8cf5e602b71d53c0d7d2f487;p=openbsd convert one hot looking bcopy to memcpy --- 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;