summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-05-12 09:33:33 +0000
committermav <mav@FreeBSD.org>2013-05-12 09:33:33 +0000
commitf31f7c469de11b6a31812f428de03d8ef8742b58 (patch)
tree42e5944ba2169515af92cf00118168557a1c248c
parent43885dc4e091f26916fada8d4b34d773d7ceb4a3 (diff)
downloadFreeBSD-src-f31f7c469de11b6a31812f428de03d8ef8742b58.zip
FreeBSD-src-f31f7c469de11b6a31812f428de03d8ef8742b58.tar.gz
Suppress error printing for "PREVENT ALLOW MEDIUM REMOVAL" on da open.
Change at r250208 exposed more errors here, hidden before. The same flag is used in cd driver.
-rw-r--r--sys/cam/scsi/scsi_da.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 51d30db..93156a6 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -3355,7 +3355,7 @@ daprevent(struct cam_periph *periph, int action)
5000);
error = cam_periph_runccb(ccb, daerror, CAM_RETRY_SELTO,
- SF_RETRY_UA | SF_QUIET_IR, softc->disk->d_devstat);
+ SF_RETRY_UA | SF_NO_PRINT, softc->disk->d_devstat);
if (error == 0) {
if (action == PR_ALLOW)
OpenPOWER on IntegriCloud