AMD64 - Refactor uio_resid and size_t assumptions.
[dragonfly.git] / sys / bus / cam / scsi / scsi_target.c
index f9850b4..8494369 100644 (file)
@@ -565,7 +565,7 @@ targwrite(struct dev_write_args *ap)
        softc = (struct targ_softc *)ap->a_head.a_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 %ld\n", uio->uio_resid));
        while (uio->uio_resid >= sizeof(user_ccb) && error == 0) {
                union ccb *ccb;