diff options
-rw-r--r-- | sys/dev/ic/vga.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index f4aa8088384..e42e2159f66 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga.c,v 1.19 2001/03/14 02:49:22 mickey Exp $ */ +/* $OpenBSD: vga.c,v 1.20 2001/03/16 14:02:36 mickey Exp $ */ /* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */ /* @@ -539,6 +539,7 @@ vga_extended_attach(self, iot, memt, type, map) vga_console_attached = 1; } else { vc = malloc(sizeof(struct vga_config), M_DEVBUF, M_WAITOK); + bzero(vc, sizeof(struct vga_config)); vga_init(vc, iot, memt); } |