summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2011-04-08 10:37:40 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2011-04-08 10:37:40 +0000
commitceed304d377c01d19816d3957fcfde243991a128 (patch)
tree3b8d6939cd71a147a8865b16c44254467d2578bc /sys/scsi
parent3e94ee9f546977df492f2a90bd4a562cd234288b (diff)
Since we don't print "drive offline" anymore, there is no need to
print the "sdN:" at the start of the now empty line. Noted by miod@.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/sd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index e2832edb209..848d0a04a8c 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.224 2011/04/07 15:30:16 miod Exp $ */
+/* $OpenBSD: sd.c,v 1.225 2011/04/08 10:37:39 krw Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -222,10 +222,10 @@ sdattach(struct device *parent, struct device *self, void *aux)
if ((sc_link->flags & SDEV_REMOVABLE) != 0)
scsi_prevent(sc_link, PR_ALLOW, sd_autoconf);
- printf("%s: ", sc->sc_dev.dv_xname);
switch (result) {
case SDGP_RESULT_OK:
- printf("%lldMB, %lu bytes/sec, %lld sec total",
+ printf("%s: %lldMB, %lu bytes/sec, %lld sec total\n",
+ sc->sc_dev.dv_xname,
dp->disksize / (1048576 / dp->secsize), dp->secsize,
dp->disksize);
break;
@@ -239,7 +239,6 @@ sdattach(struct device *parent, struct device *self, void *aux)
break;
#endif
}
- printf("\n");
memset(&dkc, 0, sizeof(dkc));
if (sd_ioctl_cache(sc, DIOCGCACHE, &dkc) == 0 && dkc.wrcache == 0) {