summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-12-10 01:22:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-12-10 01:22:35 +0000
commit53243389ea7e22f01608094800f959458d568dce (patch)
tree4c3a527c736f7d524381c3dbd65dc367863277b3 /sys/arch/sparc64/dev
parent367423ee86d451dd6a2b76eeb2374e26d81d94c8 (diff)
Fix spurious \n in dmesg output
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/comkbd_ebus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/comkbd_ebus.c b/sys/arch/sparc64/dev/comkbd_ebus.c
index c201ef04436..f69408dd31a 100644
--- a/sys/arch/sparc64/dev/comkbd_ebus.c
+++ b/sys/arch/sparc64/dev/comkbd_ebus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: comkbd_ebus.c,v 1.8 2002/11/29 01:00:49 miod Exp $ */
+/* $OpenBSD: comkbd_ebus.c,v 1.9 2002/12/10 01:22:34 miod Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -232,8 +232,7 @@ comkbd_attach(parent, self, aux)
0, &sc->sc_ioh) != 0) {
printf(": can't map register space\n");
return;
- } else
- printf("\n");
+ }
if (ISTYPE5(sc->sc_layout)) {
a.keymap = &sunkbd5_keymapdata;
@@ -269,7 +268,8 @@ comkbd_attach(parent, self, aux)
COM_WRITE(sc, com_ier, sc->sc_ier);
COM_READ(sc, com_iir);
COM_WRITE(sc, com_mcr, MCR_IENABLE | MCR_DTR | MCR_RTS);
- }
+ } else
+ printf("\n");
sc->sc_wskbddev = config_found(self, &a, wskbddevprint);
}