summaryrefslogtreecommitdiffstats
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index b7b87273a1f..85006b04a4a 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.178 2020/06/30 18:43:37 krw Exp $ */
+/* $OpenBSD: st.c,v 1.179 2020/07/16 14:44:55 krw Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1008,8 +1008,8 @@ stminphys(struct buf *bp)
return;
link = sc->sc_link;
- if (link->adapter->dev_minphys != NULL)
- (*link->adapter->dev_minphys)(bp, link);
+ if (link->bus->sb_adapter->dev_minphys != NULL)
+ (*link->bus->sb_adapter->dev_minphys)(bp, link);
else
minphys(bp);