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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 20cecf254f1..cbd739f228c 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.18 1997/08/19 03:50:59 dgregor Exp $ */
+/* $OpenBSD: st.c,v 1.19 1997/08/22 04:43:27 millert Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1733,6 +1733,10 @@ st_interpret_sense(xs)
info = xs->datalen; /* bad choice if fixed blocks */
if ((sense->error_code & SSD_ERRCODE) != 0x70)
return -1; /* let the generic code handle it */
+#if SCSIVERBOSE
+ else
+ scsi_print_sense(xs, 0); /* tell folks what happened */
+#endif
if (st->flags & ST_FIXEDBLOCKS) {
xs->resid = info * st->blksize;
if (sense->flags & SSD_EOM) {