diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-02-26 11:36:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-02-26 11:36:46 +0000 |
commit | 74955f8ea2a58aeef9ad79a3847b865cd841262c (patch) | |
tree | c9f6501e8a37663f3629698f37366c868464623c /sys/dev/isa | |
parent | b2c00bc55fe660fb0f71a7c5a132de5a3e17e14b (diff) |
Fix NULL fallout, spotted by naddy
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/gus_isapnp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/gus_isapnp.c b/sys/dev/isa/gus_isapnp.c index 96a1a7b917b..931ef7b677f 100644 --- a/sys/dev/isa/gus_isapnp.c +++ b/sys/dev/isa/gus_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gus_isapnp.c,v 1.5 2008/06/26 05:42:16 ray Exp $ */ +/* $OpenBSD: gus_isapnp.c,v 1.6 2012/02/26 11:36:45 miod Exp $ */ /* $NetBSD: gus.c,v 1.51 1998/01/25 23:48:06 mycroft Exp $ */ /*- @@ -154,7 +154,7 @@ gus_isapnp_attach(parent, self, aux) sc->sc_ioh1 = ipa->ipa_io[0].h; /* p2xr */ sc->sc_ioh2 = ipa->ipa_io[1].h; /* p3xr */ sc->sc_ioh3 = ipa->ipa_io[2].h; /* codec/mixer */ - sc->sc_ioh4 = NULL; /* midi */ + sc->sc_ioh4 = (bus_space_handle_t)NULL; /* midi */ sc->sc_irq = ipa->ipa_irq[0].num; sc->sc_drq = ipa->ipa_drq[1].num; |