aboutsummaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authorPeter Dufault <dufault@FreeBSD.org>1995-03-15 14:22:12 +0000
committerPeter Dufault <dufault@FreeBSD.org>1995-03-15 14:22:12 +0000
commit73d664ca782a26594435d945517bbf4c150a1154 (patch)
treefe70ef9e140150260e09472556888a192eb7f6a7 /sys/scsi/st.c
parent5eb7d0cd2e49ac61314c619502e784e7da7960ae (diff)
downloadsrc-73d664ca782a26594435d945517bbf4c150a1154.tar.gz
src-73d664ca782a26594435d945517bbf4c150a1154.zip
1. Add text for ASC/ASCQ
2. Clean up probe messages. This is how I propose it looks for 2.1 so if you don't like it you have my e-mail address.
Notes
Notes: svn path=/head/; revision=7067
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 19da5eb44645..d57a7cf752ad 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: st.c,v 1.28 1995/03/01 22:24:46 dufault Exp $
+ * $Id: st.c,v 1.29 1995/03/04 20:51:05 dufault Exp $
*/
/*
@@ -334,7 +334,7 @@ stattach(struct scsi_link *sc_link)
* request must specify this.
*/
if (st_mode_sense(unit, SCSI_NOSLEEP | SCSI_NOMASK | SCSI_SILENT)) {
- printf("drive offline\n");
+ printf("drive offline");
} else {
printf("density code 0x%x, ", st->media_density);
if (!scsi_test_unit_ready(sc_link, SCSI_NOSLEEP | SCSI_NOMASK | SCSI_SILENT)) {
@@ -343,10 +343,10 @@ stattach(struct scsi_link *sc_link)
} else {
printf("variable");
}
- printf(" blocks, write-%s\n",
+ printf(" blocks, write-%s",
(st->flags & ST_READONLY) ? "protected" : "enabled");
} else {
- printf(" drive empty\n");
+ printf(" drive empty");
}
}
/*