summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-07 13:03:18 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-07 13:03:18 +0000
commit5e7b04f86b926d8d979ef8e2d55d87b7934fcaca (patch)
tree62707edd783375381ab384d48ffae2d13939fab2 /sys
parente331131f6317b241293db78a79ed3bc96ebdb234 (diff)
Bleh. bus_probe has opposite return of my fn.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/dev/if_sn_obio.c4
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;
}