diff options
author | Peter Dufault <dufault@FreeBSD.org> | 1995-03-15 14:22:12 +0000 |
---|---|---|
committer | Peter Dufault <dufault@FreeBSD.org> | 1995-03-15 14:22:12 +0000 |
commit | 73d664ca782a26594435d945517bbf4c150a1154 (patch) | |
tree | fe70ef9e140150260e09472556888a192eb7f6a7 /sys/scsi/ch.c | |
parent | 5eb7d0cd2e49ac61314c619502e784e7da7960ae (diff) | |
download | src-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/ch.c')
-rw-r--r-- | sys/scsi/ch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index 73ebc9529da8..6fd5befae738 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -2,7 +2,7 @@ * Written by grefen@????? * Based on scsi drivers by Julian Elischer (julian@tfs.com) * - * $Id: ch.c,v 1.14 1995/03/01 22:24:40 dufault Exp $ + * $Id: ch.c,v 1.15 1995/03/04 20:50:45 dufault Exp $ */ #include <sys/types.h> @@ -135,9 +135,9 @@ chattach(struct scsi_link *sc_link) * request must specify this. */ if ((ch_mode_sense(unit, SCSI_NOSLEEP | SCSI_NOMASK /*| SCSI_SILENT */ ))) { - printf("offline\n"); + printf("offline"); } else { - printf("%d slot(s) %d drive(s) %d arm(s) %d i/e-slot(s)\n", + printf("%d slot(s) %d drive(s) %d arm(s) %d i/e-slot(s)", ch->slots, ch->drives, ch->chms, ch->imexs); } ch_registerdev(unit); |