From fb06ed88b5810f53d16a2f3f90904ed7ea4de07a Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 10 Feb 2015 21:56:11 +0000 Subject: First step towards making uiomove() take a size_t size argument: - rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@ --- sys/isofs/cd9660/cd9660_vnops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/isofs/cd9660') diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index a13c2776920..00c0b30c987 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vnops.c,v 1.69 2014/12/16 18:30:03 tedu Exp $ */ +/* $OpenBSD: cd9660_vnops.c,v 1.70 2015/02/10 21:56:09 miod Exp $ */ /* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */ /*- @@ -273,7 +273,7 @@ cd9660_read(void *v) return (error); } - error = uiomove(bp->b_data + on, (int)n, uio); + error = uiomovei(bp->b_data + on, (int)n, uio); brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); @@ -341,7 +341,7 @@ iso_uiodir(idp,dp,off) } dp->d_off = off; - if ((error = uiomove((caddr_t)dp, dp->d_reclen, idp->uio)) != 0) + if ((error = uiomovei((caddr_t)dp, dp->d_reclen, idp->uio)) != 0) return (error); idp->uio_off = off; return (0); @@ -654,7 +654,7 @@ cd9660_readlink(void *v) */ if (uio->uio_segflg != UIO_SYSSPACE || uio->uio_iov->iov_len < MAXPATHLEN) { - error = uiomove(symname, symlen, uio); + error = uiomovei(symname, symlen, uio); pool_put(&namei_pool, symname); return (error); } -- cgit v1.2.3