diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-30 14:04:47 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2013-10-30 14:04:47 +0000 |
| commit | 123055f01fc8cd655ecd99467e3f8770a58c0c1f (patch) | |
| tree | f38033fa78e1b6966fc4d3461bb2d766a6325ac2 /sys/dev/twa | |
| parent | 630e459e517b73df408ae38e80c841c978464a8d (diff) | |
Notes
Diffstat (limited to 'sys/dev/twa')
| -rw-r--r-- | sys/dev/twa/tw_osl_cam.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/twa/tw_osl_cam.c b/sys/dev/twa/tw_osl_cam.c index df6566eba919..b8b21a390316 100644 --- a/sys/dev/twa/tw_osl_cam.c +++ b/sys/dev/twa/tw_osl_cam.c @@ -207,15 +207,17 @@ tw_osli_execute_scsi(struct tw_osli_req_context *req, union ccb *ccb) csio->cdb_io.cdb_bytes[0]); if (ccb_h->target_id >= TW_CL_MAX_NUM_UNITS) { - tw_osli_dbg_dprintf(3, sc, "Invalid target. PTL = %x %x %x", - ccb_h->path_id, ccb_h->target_id, ccb_h->target_lun); + tw_osli_dbg_dprintf(3, sc, "Invalid target. PTL = %x %x %jx", + ccb_h->path_id, ccb_h->target_id, + (uintmax_t)ccb_h->target_lun); ccb_h->status |= CAM_TID_INVALID; xpt_done(ccb); return(1); } if (ccb_h->target_lun >= TW_CL_MAX_NUM_LUNS) { - tw_osli_dbg_dprintf(3, sc, "Invalid lun. PTL = %x %x %x", - ccb_h->path_id, ccb_h->target_id, ccb_h->target_lun); + tw_osli_dbg_dprintf(3, sc, "Invalid lun. PTL = %x %x %jx", + ccb_h->path_id, ccb_h->target_id, + (uintmax_t)ccb_h->target_lun); ccb_h->status |= CAM_LUN_INVALID; xpt_done(ccb); return(1); |
