rem: uint cnt;
add: int cnt;
context: int uiomove(caddr_t cp, int n, struct uio *uio){	struct iovec *iov;	uint cnt;	int error = 0;	void *ptr = NULL;	while (n > 0 && uio->uio_resid) {		iov = uio->uio_iov;		cnt = iov->iov_len;		if (cnt == 0) {			uio->uio_iov++;			uio->uio_iovcnt--;			continue;		}		if (cnt > n)			cnt = n;		switch (uio->uio_segflg) {			/* XXX - once "properly" in kernel space, revisit and			 * fix this for kernel moves...			 */			case UIO_USERSPACE:			case UIO_SYSSPACE:				if (uio->uio_rw == UIO_READ)					ptr = memcpy(iov->iov_base, cp, cnt);				else					ptr = memcpy(cp, iov->iov_base, cnt);//				if (!ptr)//					return (errno);							break;		}		iov->iov_base = (caddr_t)iov->iov_base + cnt;		iov->iov_len -= cnt;		uio->uio_resid -= cnt;		uio->uio_offset += cnt;		cp += cnt;		n -= cnt;	}	return (error);}