diff options
Diffstat (limited to 'sys/arch/mac68k/dev')
-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; } |