summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/cd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 94a5d0f..49b2efe 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: cd.c,v 1.52 1995/12/10 20:02:47 bde Exp $
+ * $Id: cd.c,v 1.53 1995/12/14 09:54:18 phk Exp $
*/
#define SPLCD splbio
@@ -588,7 +588,7 @@ cdstart(unit, flags)
return;
}
cdqueues++;
- if(cd->dkunit) {
+ if(cd->dkunit >= 0) {
dk_xfer[cd->dkunit]++;
dk_seek[cd->dkunit]++; /* don't know */
dk_wds[cd->dkunit] += bp->b_bcount >> 6;
OpenPOWER on IntegriCloud