diff options
author | 1997-04-07 13:03:17 +0000 | |
---|---|---|
committer | 1997-04-07 13:03:17 +0000 | |
commit | f3486fb1297b796c3301f6f2ce2f8e6dcca1ba8d (patch) | |
tree | 1c9706fb7d0b8d143c3b5939dbb9653e250c2deb | |
parent | Perhaps improve reliability with some small performance sacrifice. (diff) | |
download | wireguard-openbsd-f3486fb1297b796c3301f6f2ce2f8e6dcca1ba8d.tar.xz wireguard-openbsd-f3486fb1297b796c3301f6f2ce2f8e6dcca1ba8d.zip |
Bleh. bus_probe has opposite return of my fn.
-rw-r--r-- | sys/arch/mac68k/dev/if_sn_obio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/if_sn_obio.c b/sys/arch/mac68k/dev/if_sn_obio.c index 169a3ded164..bdac74a89d6 100644 --- a/sys/arch/mac68k/dev/if_sn_obio.c +++ b/sys/arch/mac68k/dev/if_sn_obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn_obio.c,v 1.9 1997/04/07 12:45:20 briggs Exp $ */ +/* $OpenBSD: if_sn_obio.c,v 1.10 1997/04/07 13:03:17 briggs Exp $ */ /* * Copyright (C) 1997 Allen Briggs @@ -152,7 +152,7 @@ sn_obio_getaddr(sc) panic("failed to map space to read SONIC address.\n"); } - if (bus_probe(sc->sc_regt, bsh, 0, 1)) { + if (!bus_probe(sc->sc_regt, bsh, 0, 1)) { bus_space_unmap(sc->sc_regt, bsh, NBPG); return -1; } |