diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-06-11 04:00:00 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-06-11 04:00:00 +0000 |
commit | b38f7d55b2633687237590f44b102ac8c7759a04 (patch) | |
tree | 7b97071a5ed2537decde5edc4eb96f3cab0ed836 /sys/scsi | |
parent | 8cb6f09a07ad7408b53135880e696fba61c1ff9b (diff) |
Don't spew sense informaton from the test unit ready command issued by
stopen(). This change was misplaced in the st roto-tilling at c2k6.
Noticed by deraadt@.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/st.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index 5d03e8dca61..91f216cc57c 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -1,4 +1,4 @@ -/* $OpenBSD: st.c,v 1.62 2006/06/01 05:42:01 krw Exp $ */ +/* $OpenBSD: st.c,v 1.63 2006/06/11 03:59:59 krw Exp $ */ /* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */ /* @@ -432,7 +432,8 @@ stopen(dev, flags, fmt, p) * will ensure that media is present. */ error = scsi_test_unit_ready(sc_link, TEST_READY_RETRIES_TAPE, - SCSI_IGNORE_MEDIA_CHANGE | SCSI_IGNORE_ILLEGAL_REQUEST); + SCSI_SILENT | SCSI_IGNORE_MEDIA_CHANGE | + SCSI_IGNORE_ILLEGAL_REQUEST); /* * Terminate any exising mount session if there is no media. |