From: briggs Date: Mon, 7 Apr 1997 13:03:17 +0000 (+0000) Subject: Bleh. bus_probe has opposite return of my fn. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f3486fb1297b796c3301f6f2ce2f8e6dcca1ba8d;p=openbsd Bleh. bus_probe has opposite return of my fn. --- 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; }