summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-08 21:55:57 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-08 21:55:57 +0000
commita2009dcde9f959cb94aece619986d05e773e74e1 (patch)
tree331b51e0d4b6c12cdb33ba794249c1aa672d5815 /sys/arch/sparc/dev
parent64aeb29139a92b0a618610aefb2b0bbd2a0a4e2f (diff)
bzero the correct size (I swear this worked at one time...)
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/fga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fga.c b/sys/arch/sparc/dev/fga.c
index fc7afabcfcc..56770a1f8ed 100644
--- a/sys/arch/sparc/dev/fga.c
+++ b/sys/arch/sparc/dev/fga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fga.c,v 1.10 2002/07/08 21:15:24 jason Exp $ */
+/* $OpenBSD: fga.c,v 1.11 2002/07/08 21:55:56 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -525,7 +525,7 @@ fga_intr_establish(sc, vec, level, ih)
sizeof(struct intrhand *), M_DEVBUF, M_NOWAIT);
if (sc->sc_vmevec == NULL)
panic("fga_addirq");
- bzero(sc->sc_vmevec, 256 * sizeof(struct intrhand));
+ bzero(sc->sc_vmevec, 256 * sizeof(struct intrhand *));
}
if (sc->sc_vmevec[vec] == NULL)
sc->sc_vmevec[vec] = ih;