aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/siis
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2024-06-27 13:29:23 +0000
committerAlexander Motin <mav@FreeBSD.org>2024-06-27 13:29:23 +0000
commit87085c12ba8fa51f777bc636df67008b45e20d1c (patch)
tree37254857d3942186057c824bf0842f3e4567f10d /sys/dev/siis
parenta743e280ea0541163afa7d1c320504925a02f80b (diff)
Diffstat (limited to 'sys/dev/siis')
-rw-r--r--sys/dev/siis/siis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c
index ad370c99f85e..e5b0b8b1f009 100644
--- a/sys/dev/siis/siis.c
+++ b/sys/dev/siis/siis.c
@@ -1394,7 +1394,7 @@ completeall:
}
xpt_setup_ccb(&ccb->ccb_h, ch->hold[i]->ccb_h.path,
ch->hold[i]->ccb_h.pinfo.priority);
- if (ccb->ccb_h.func_code == XPT_ATA_IO) {
+ if (ch->hold[i]->ccb_h.func_code == XPT_ATA_IO) {
/* READ LOG */
ccb->ccb_h.recovery_type = RECOVERY_READ_LOG;
ccb->ccb_h.func_code = XPT_ATA_IO;