summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-06-25 18:46:30 +0000
committerkib <kib@FreeBSD.org>2009-06-25 18:46:30 +0000
commita7a5954511a4b948ae8218744bc2069641a3ab19 (patch)
tree78b4ad05c311866c8b27041ac4ed99ffd980653d /sys/vm
parenteb2a6cf16eda6c60423ca640ec4c2a4e7a04373e (diff)
downloadFreeBSD-src-a7a5954511a4b948ae8218744bc2069641a3ab19.zip
FreeBSD-src-a7a5954511a4b948ae8218744bc2069641a3ab19.tar.gz
Change the type of uio_resid member of struct uio from int to ssize_t.
Note that this does not actually enable full-range i/o requests for 64 architectures, and is done now to update KBI only. Tested by: pho Reviewed by: jhb, bde (as part of the review of the bigger patch)
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vnode_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index 09223b7..faa6f37 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -1161,7 +1161,7 @@ vnode_pager_generic_putpages(vp, m, bytecount, flags, rtvals)
}
if (auio.uio_resid) {
if (ppscheck || ppsratecheck(&lastfail, &curfail, 1))
- printf("vnode_pager_putpages: residual I/O %d at %lu\n",
+ printf("vnode_pager_putpages: residual I/O %zd at %lu\n",
auio.uio_resid, (u_long)m[0]->pindex);
}
for (i = 0; i < ncount; i++) {
OpenPOWER on IntegriCloud