summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/scsi/cd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 7d1dbe4a8dd..251fa6144b3 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.63 2002/06/08 23:59:47 art Exp $ */
+/* $OpenBSD: cd.c,v 1.64 2002/06/09 00:01:49 art Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -606,6 +606,8 @@ cdstart(v)
int blkno, nblks, cmdlen;
struct partition *p;
+ splassert(IPL_BIO);
+
SC_DEBUG(sc_link, SDEV_DB2, ("cdstart "));
/*
* Check if the device has room for another command