diff options
author | 2006-02-25 15:07:55 +0000 | |
---|---|---|
committer | 2006-02-25 15:07:55 +0000 | |
commit | c7ac3057a9e6724d7ad7538e51caf4aeb88f6856 (patch) | |
tree | 578da25482435208df5a2494a4b80acafeaddb00 /sys | |
parent | Fix a coredump occurring when the terminal is resized while mg is (diff) | |
download | wireguard-openbsd-c7ac3057a9e6724d7ad7538e51caf4aeb88f6856.tar.xz wireguard-openbsd-c7ac3057a9e6724d7ad7538e51caf4aeb88f6856.zip |
initialize rv to zero avoiding match on whatever is just next on the bus
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mac68k/dev/if_ae_nubus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/if_ae_nubus.c b/sys/arch/mac68k/dev/if_ae_nubus.c index 27555e43521..3649bf3fd08 100644 --- a/sys/arch/mac68k/dev/if_ae_nubus.c +++ b/sys/arch/mac68k/dev/if_ae_nubus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ae_nubus.c,v 1.15 2006/01/05 20:27:14 miod Exp $ */ +/* $OpenBSD: if_ae_nubus.c,v 1.16 2006/02/25 15:07:55 martin Exp $ */ /* $NetBSD: if_ae_nubus.c,v 1.17 1997/05/01 18:17:16 briggs Exp $ */ /* @@ -91,7 +91,7 @@ ae_nubus_match(parent, vcf, aux) { struct nubus_attach_args *na = (struct nubus_attach_args *) aux; bus_space_handle_t bsh; - int rv; + int rv = 0; if (bus_space_map(na->na_tag, NUBUS_SLOT2PA(na->slot), NBMEMSIZE, 0, &bsh)) |