summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-23 17:17:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-23 17:17:16 +0000
commit629b62fb36d9f438af5825e91b4ca16d6b13a5e7 (patch)
tree132048291ed58bfba5c4528ab91a117cb413246a /sys/arch/sparc
parent9daadf6caedf1ac0590abd2f3f3a12e12ad0a8fb (diff)
Do not bzero() too far when setting up 32-bit mode.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/cgfourteen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cgfourteen.c b/sys/arch/sparc/dev/cgfourteen.c
index 5422fed082b..5434dff107a 100644
--- a/sys/arch/sparc/dev/cgfourteen.c
+++ b/sys/arch/sparc/dev/cgfourteen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfourteen.c,v 1.31 2005/03/23 17:16:34 miod Exp $ */
+/* $OpenBSD: cgfourteen.c,v 1.32 2005/03/23 17:17:15 miod Exp $ */
/* $NetBSD: cgfourteen.c,v 1.7 1997/05/24 20:16:08 pk Exp $ */
/*
@@ -451,7 +451,7 @@ cgfourteen_reset(struct cgfourteen_softc *sc, int depth)
* Clear the screen to black
*/
bzero(sc->sc_sunfb.sf_ro.ri_bits,
- sc->sc_sunfb.sf_fbsize * 4);
+ sc->sc_sunfb.sf_fbsize);
/*
* Enable the video, and put in 32 bit mode