From 8cc886957bd19a8e8cf5e602b71d53c0d7d2f487 Mon Sep 17 00:00:00 2001 From: tedu Date: Thu, 18 Dec 2014 21:00:12 +0000 Subject: [PATCH] convert one hot looking bcopy to memcpy --- sys/nfs/nfs_subs.c | 4 ++-- 1 file 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; -- 2.20.1