summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index cbd739f228c..8af766ed97f 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.19 1997/08/22 04:43:27 millert Exp $ */
+/* $OpenBSD: st.c,v 1.20 1997/09/03 17:21:49 deraadt Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1734,7 +1734,7 @@ st_interpret_sense(xs)
if ((sense->error_code & SSD_ERRCODE) != 0x70)
return -1; /* let the generic code handle it */
#if SCSIVERBOSE
- else
+ else if ((xs->flags & SCSI_SILENT) == 0)
scsi_print_sense(xs, 0); /* tell folks what happened */
#endif
if (st->flags & ST_FIXEDBLOCKS) {