summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-07-31 16:17:43 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-07-31 16:17:43 +0000
commit86487254d7365e1eb3282ccb70741a39a2288dce (patch)
treea4b57aa7007786b59cbe9e92047d46fcd549ccb7 /sys
parent2a4c2c7365b0f85e502574ff37bcafc8dae6fafb (diff)
Don't use new dmesg line when printing logical devices info.
Suggested by deraadt@.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/viasio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/viasio.c b/sys/dev/isa/viasio.c
index bd71575067b..141ca33dfa6 100644
--- a/sys/dev/isa/viasio.c
+++ b/sys/dev/isa/viasio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viasio.c,v 1.1 2005/07/28 20:12:13 grange Exp $ */
+/* $OpenBSD: viasio.c,v 1.2 2005/07/31 16:17:42 grange Exp $ */
/*
* Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org>
*
@@ -177,10 +177,9 @@ viasio_attach(struct device *parent, struct device *self, void *aux)
/* Read device revision */
reg = viasio_conf_read(sc->sc_iot, sc->sc_ioh, VT1211_REV);
- printf(": VT1211 rev 0x%02x\n", reg);
+ printf(": VT1211 rev 0x%02x", reg);
/* Initialize logical devices */
- printf("%s", sc->sc_dev.dv_xname);
viasio_hm_init(sc);
printf("\n");