summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/vgafb.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-08-10 21:57:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-08-10 21:57:52 +0000
commit3d9e8d6cfee6fa131f42811e821f253411ed3a95 (patch)
tree409da890ca0905c2b67f9c6359ef239b1eaa31f1 /sys/arch/sparc64/dev/vgafb.c
parente731d0b7c4917d1b759375a17ccc03a53b26ce30 (diff)
Print the newline after vgafb_mapregs(), not before since vgafb_mapregs()
may print diagostic messgaes on error. OK henning@.
Diffstat (limited to 'sys/arch/sparc64/dev/vgafb.c')
-rw-r--r--sys/arch/sparc64/dev/vgafb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/vgafb.c b/sys/arch/sparc64/dev/vgafb.c
index 62ab9e68798..6fdceef08ae 100644
--- a/sys/arch/sparc64/dev/vgafb.c
+++ b/sys/arch/sparc64/dev/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.34 2003/06/16 21:46:23 miod Exp $ */
+/* $OpenBSD: vgafb.c,v 1.35 2004/08/10 21:57:51 millert Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -159,11 +159,11 @@ vgafbattach(parent, self, aux)
sc->sc_node = PCITAG_NODE(pa->pa_tag);
sc->sc_pcitag = pa->pa_tag;
- printf("\n");
-
if (vgafb_mapregs(sc, pa))
return;
+ printf("\n");
+
sc->sc_console = vgafb_is_console(sc->sc_node);
fb_setsize(&sc->sc_sunfb, 8, 1152, 900, sc->sc_node, 0);