diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-30 10:44:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-30 10:44:56 +0000 |
commit | b2ce612b8599e37c4af5da5019e6eda4d4ae97d6 (patch) | |
tree | 10067b03e34ca2e59320f0c3212831968ec8b369 /sys | |
parent | fcceee6fa992a627023352b0048bfe6fa2fcd869 (diff) |
clear the isapnp softc
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isa/isapnp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/isapnp.c b/sys/dev/isa/isapnp.c index 5152c1b4b2c..4e287719415 100644 --- a/sys/dev/isa/isapnp.c +++ b/sys/dev/isa/isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isapnp.c,v 1.20 1998/07/28 15:25:40 csapuntz Exp $ */ +/* $OpenBSD: isapnp.c,v 1.21 1998/11/30 10:44:55 deraadt Exp $ */ /* $NetBSD: isapnp.c,v 1.9.4.3 1997/10/29 00:40:43 thorpej Exp $ */ /* @@ -804,6 +804,7 @@ isapnp_isa_attach_hook(isa_sc) { struct isapnp_softc sc; + bzero(&sc, sizeof sc); sc.sc_iot = isa_sc->sc_iot; sc.sc_ncards = 0; |