aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_freebsd.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-03-18 16:09:36 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-03-18 16:09:36 +0000
commit15c62456d1eef7edbefa3d898132338fc8d74cdc (patch)
tree89c98bed46b233b2b1c9935b0e216b893f42f476 /sys/dev/isp/isp_freebsd.c
parent56bf1d616f5dbb5396dd96cee992b24f9e660f9c (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r--sys/dev/isp/isp_freebsd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index 8666a45857edd..4b85c32b6da55 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -2303,7 +2303,8 @@ isp_handle_platform_notify_fc(ispsoftc_t *isp, in_fcentry_t *inp)
break;
case IN_ABORT_TASK:
{
- uint16_t nphdl, lun;
+ lun_id_t lun;
+ uint16_t nphdl;
uint32_t sid;
uint64_t wwn;
fcportdb_t *lp;
@@ -2602,7 +2603,7 @@ isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify)
inot_private_data_t *ntp = NULL;
lun_id_t lun;
- isp_prt(isp, ISP_LOGTDEBUG0, "%s: code 0x%x sid 0x%x tagval 0x%016llx chan %d lun 0x%x", __func__, notify->nt_ncode,
+ isp_prt(isp, ISP_LOGTDEBUG0, "%s: code 0x%x sid 0x%x tagval 0x%016llx chan %d lun %jx", __func__, notify->nt_ncode,
notify->nt_sid, (unsigned long long) notify->nt_tagval, notify->nt_channel, notify->nt_lun);
/*
* NB: This assignment is necessary because of tricky type conversion.