summaryrefslogtreecommitdiff
path: root/sys/dev/trm/trm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/trm/trm.c')
-rw-r--r--sys/dev/trm/trm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/trm/trm.c b/sys/dev/trm/trm.c
index 058fcde15b613..3cb9e4f0ba000 100644
--- a/sys/dev/trm/trm.c
+++ b/sys/dev/trm/trm.c
@@ -2504,7 +2504,7 @@ trm_SRBdone(PACB pACB, PDCB pDCB, PSRB pSRB)
target_id = pSRB->pccb->ccb_h.target_id;
target_lun = pSRB->pccb->ccb_h.target_lun;
if ((pccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) {
- int op;
+ bus_dmasync_op_t op;
if ((pccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN)
op = BUS_DMASYNC_POSTREAD;
else