summaryrefslogtreecommitdiffstats
path: root/sys/scsi/cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index d3b5b33775e..9e67e15c8e2 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.246 2020/06/30 18:43:36 krw Exp $ */
+/* $OpenBSD: cd.c,v 1.247 2020/07/16 14:44:55 krw Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -696,8 +696,8 @@ cdminphys(struct buf *bp)
bp->b_bcount = max;
}
- 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);