aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iscsi_initiator/isc_cam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/iscsi_initiator/isc_cam.c')
-rw-r--r--sys/dev/iscsi_initiator/isc_cam.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/iscsi_initiator/isc_cam.c b/sys/dev/iscsi_initiator/isc_cam.c
index c3ddd26802a5..8f8bd6443b2e 100644
--- a/sys/dev/iscsi_initiator/isc_cam.c
+++ b/sys/dev/iscsi_initiator/isc_cam.c
@@ -63,7 +63,7 @@ _inq(struct cam_sim *sim, union ccb *ccb)
isc_session_t *sp = cam_sim_softc(sim);
debug_called(8);
- debug(3, "sid=%d target=%d lun=%d", sp->sid, ccb->ccb_h.target_id, ccb->ccb_h.target_lun);
+ debug(3, "sid=%d target=%d lun=%jx", sp->sid, ccb->ccb_h.target_id, (uintmax_t)ccb->ccb_h.target_lun);
cpi->version_num = 1; /* XXX??? */
cpi->hba_inquiry = PI_SDTR_ABLE | PI_TAG_ABLE | PI_WIDE_32;
@@ -188,9 +188,9 @@ ic_action(struct cam_sim *sim, union ccb *ccb)
debug_called(8);
ccb_h->spriv_ptr0 = sp;
- sdebug(4, "func_code=0x%x flags=0x%x status=0x%x target=%d lun=%d retry_count=%d timeout=%d",
+ sdebug(4, "func_code=0x%x flags=0x%x status=0x%x target=%d lun=%jx retry_count=%d timeout=%d",
ccb_h->func_code, ccb->ccb_h.flags, ccb->ccb_h.status,
- ccb->ccb_h.target_id, ccb->ccb_h.target_lun,
+ ccb->ccb_h.target_id, (uintmax_t)ccb->ccb_h.target_lun,
ccb->ccb_h.retry_count, ccb_h->timeout);
if(sp == NULL) {
xdebug("sp == NULL! cannot happen");
@@ -235,8 +235,8 @@ ic_action(struct cam_sim *sim, union ccb *ccb)
struct ccb_calc_geometry *ccg;
ccg = &ccb->ccg;
- debug(4, "sid=%d target=%d lun=%d XPT_CALC_GEOMETRY vsize=%jd bsize=%d",
- sp->sid, ccb->ccb_h.target_id, ccb->ccb_h.target_lun,
+ debug(4, "sid=%d target=%d lun=%jx XPT_CALC_GEOMETRY vsize=%jd bsize=%d",
+ sp->sid, ccb->ccb_h.target_id, (uintmax_t)ccb->ccb_h.target_lun,
ccg->volume_size, ccg->block_size);
if(ccg->block_size == 0 ||
(ccg->volume_size < ccg->block_size)) {