diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-09-21 03:10:58 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-09-21 03:10:58 +0000 |
commit | 73ac0de4db2f3c9479bcb09dfee71f4f93897f80 (patch) | |
tree | 2439f7531aebc1035580c1c65a3f5292e208d530 | |
parent | 20de7e8ac37233f9dabc4e13f29586f9a7addfc7 (diff) |
Missing parenthesis. Same problem was addressed in sd.c r1.90. Could
fix devices not supporting TEST UNIT READY.
-rw-r--r-- | sys/scsi/cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 6f59995776c..b9b2fbee0bd 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.88 2005/09/11 17:34:27 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.89 2005/09/21 03:10:57 krw Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -352,7 +352,7 @@ cdopen(dev, flag, fmt, p) * and don't ignore NOT_READY. */ error = scsi_test_unit_ready(sc_link, TEST_READY_RETRIES_CD, - (part == RAW_PART && fmt == S_IFCHR) ? SCSI_SILENT : 0 | + ((part == RAW_PART && fmt == S_IFCHR) ? SCSI_SILENT : 0) | SCSI_IGNORE_ILLEGAL_REQUEST | SCSI_IGNORE_MEDIA_CHANGE); /* Start the cd spinning if necessary. */ |