summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-12-05 00:09:51 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-12-05 00:09:51 +0000
commit4abb4ecdf4806c24779e94923d9d4e1d6dea4325 (patch)
treeffda6839cefb1ae0624f372732d240c4d52a819d /sys/scsi
parent4bf20c043bcbd251cb83649321cf9561c72c21bf (diff)
argh. this darn little bugger made CDIOCREADSUBCHANNEL unuseable, this
should also fix some cdio problems with SCSI cdroms.
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 cc01a96c929..228c0470bf0 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.28 1997/10/18 10:37:16 deraadt Exp $ */
+/* $OpenBSD: cd.c,v 1.29 1997/12/05 00:09:50 provos Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -1284,7 +1284,7 @@ cd_read_subchannel(cd, mode, format, track, data, len)
_lto2b(len, scsi_cmd.data_len);
return scsi_scsi_cmd(cd->sc_link, (struct scsi_generic *)&scsi_cmd,
sizeof(struct scsi_read_subchannel), (u_char *)data, len,
- CDRETRIES, 5000, NULL, SCSI_DATA_IN||SCSI_SILENT);
+ CDRETRIES, 5000, NULL, SCSI_DATA_IN|SCSI_SILENT);
}
/*