diff options
author | silby <silby@FreeBSD.org> | 2004-02-04 08:43:21 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2004-02-04 08:43:21 +0000 |
commit | ca8156c1aea45521956b1efc61cb789fd0f5aba9 (patch) | |
tree | 9917a8d05e25d4e3cbc5d8421e90a036de3320fd /sys/kern | |
parent | d4d0f8b9e0a190cad13fc3c57d7a83e12760d758 (diff) | |
download | FreeBSD-src-ca8156c1aea45521956b1efc61cb789fd0f5aba9.zip FreeBSD-src-ca8156c1aea45521956b1efc61cb789fd0f5aba9.tar.gz |
Rename iov_to_uio to uiofromiov to be more consistent with other
uio* functions.
Suggested by: bde
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_subr.c | 2 | ||||
-rw-r--r-- | sys/kern/uipc_syscalls.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 1040aba..a5a2915 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -485,7 +485,7 @@ copyinstrfrom(const void * __restrict src, void * __restrict dst, size_t len, } int -iov_to_uio(struct iovec *iovp, u_int iovcnt, struct uio *uio) +uiofromiov(struct iovec *iovp, u_int iovcnt, struct uio *uio) { struct iovec *iov; u_int iovlen; diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 9bec360..55f588f 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -1738,7 +1738,7 @@ do_sendfile(struct thread *td, struct sendfile_args *uap, int compat) if (hdtr.headers != NULL) { hdr_uio.uio_td = td; hdr_uio.uio_rw = UIO_WRITE; - error = iov_to_uio(hdtr.headers, hdtr.hdr_cnt, + error = uiofromiov(hdtr.headers, hdtr.hdr_cnt, &hdr_uio); if (error) goto done; |