diff options
author | kib <kib@FreeBSD.org> | 2009-06-25 18:46:30 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-06-25 18:46:30 +0000 |
commit | a7a5954511a4b948ae8218744bc2069641a3ab19 (patch) | |
tree | 78b4ad05c311866c8b27041ac4ed99ffd980653d /sys/cam | |
parent | eb2a6cf16eda6c60423ca640ec4c2a4e7a04373e (diff) | |
download | FreeBSD-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/cam')
-rw-r--r-- | sys/cam/scsi/scsi_target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c index 887a5cd..f1080f0 100644 --- a/sys/cam/scsi/scsi_target.c +++ b/sys/cam/scsi/scsi_target.c @@ -552,7 +552,7 @@ targwrite(struct cdev *dev, struct uio *uio, int ioflag) softc = (struct targ_softc *)dev->si_drv1; write_len = error = 0; CAM_DEBUG(softc->path, CAM_DEBUG_PERIPH, - ("write - uio_resid %d\n", uio->uio_resid)); + ("write - uio_resid %zd\n", uio->uio_resid)); while (uio->uio_resid >= sizeof(user_ccb) && error == 0) { union ccb *ccb; |