summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_sglist.c
diff options
context:
space:
mode:
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