summaryrefslogtreecommitdiff
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 7598251c26f..3ec1d2a3c32 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.141 2008/06/21 21:11:34 krw Exp $ */
+/* $OpenBSD: cd.c,v 1.142 2008/06/22 16:32:05 krw Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -637,8 +637,8 @@ cdstart(void *v)
* Note: we cannot sleep as we may be an interrupt
*/
error = scsi_scsi_cmd(sc_link, cmdp, cmdlen,
- (u_char *) bp->b_data, bp->b_bcount, SCSI_RETRIES, 30000, bp,
- SCSI_NOSLEEP | ((bp->b_flags & B_READ) ? SCSI_DATA_IN :
+ (u_char *) bp->b_data, bp->b_bcount, SCSI_RETRIES, 30000,
+ bp, SCSI_NOSLEEP | ((bp->b_flags & B_READ) ? SCSI_DATA_IN :
SCSI_DATA_OUT));
switch (error) {
case 0: