diff options
author | alfred <alfred@FreeBSD.org> | 2011-11-14 07:12:10 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2011-11-14 07:12:10 +0000 |
commit | fe73343e27407772b7f52898eb83bdbc6f68bdaa (patch) | |
tree | 8f4bf56011f0f8b0153054506863f5010a18a35c /sys/kern/subr_uio.c | |
parent | 7b1ccd71f2daeaf22349b2805db65aad5af33040 (diff) | |
download | FreeBSD-src-fe73343e27407772b7f52898eb83bdbc6f68bdaa.zip FreeBSD-src-fe73343e27407772b7f52898eb83bdbc6f68bdaa.tar.gz |
Constify args to copyiniov and copyinuio.
Diffstat (limited to 'sys/kern/subr_uio.c')
-rw-r--r-- | sys/kern/subr_uio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c index 6e81328..d49e3c3 100644 --- a/sys/kern/subr_uio.c +++ b/sys/kern/subr_uio.c @@ -437,7 +437,7 @@ copyinstrfrom(const void * __restrict src, void * __restrict dst, size_t len, } int -copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) +copyiniov(const struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) { u_int iovlen; @@ -455,7 +455,7 @@ copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov, int error) } int -copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop) +copyinuio(const struct iovec *iovp, u_int iovcnt, struct uio **uiop) { struct iovec *iov; struct uio *uio; |