summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_sglist.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-08-20 19:23:58 +0000
committerjhb <jhb@FreeBSD.org>2009-08-20 19:23:58 +0000
commitbb1c942f116ca63b21e3cf4cdc47a62dc47ee664 (patch)
treeba39013d1af76bd1673ad6017209cfbb1e1cf738 /sys/kern/subr_sglist.c
parent9b0755de9f1e9517732f96a37f0ef30b8db23811 (diff)
downloadFreeBSD-src-bb1c942f116ca63b21e3cf4cdc47a62dc47ee664.zip
FreeBSD-src-bb1c942f116ca63b21e3cf4cdc47a62dc47ee664.tar.gz
Change the 'resid' parameter to sglist_consume_uio() from an int to a
size_t to match the recent type change of the uio_resid member of struct uio. Approved by: re (kib)
Diffstat (limited to 'sys/kern/subr_sglist.c')
-rw-r--r--sys/kern/subr_sglist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_sglist.c b/sys/kern/subr_sglist.c
index 7f551d9..474f676 100644
--- a/sys/kern/subr_sglist.c
+++ b/sys/kern/subr_sglist.c
@@ -315,7 +315,7 @@ sglist_append_uio(struct sglist *sg, struct uio *uio)
* segments, then only the amount that fits is appended.
*/
int
-sglist_consume_uio(struct sglist *sg, struct uio *uio, int resid)
+sglist_consume_uio(struct sglist *sg, struct uio *uio, size_t resid)
{
struct iovec *iov;
size_t done;
OpenPOWER on IntegriCloud