diff options
author | 1996-06-01 12:18:30 +0000 | |
---|---|---|
committer | 1996-06-01 12:18:30 +0000 | |
commit | 10dda6770bfe9a3611cbe55a8d48f1645355cf57 (patch) | |
tree | 25682b02b7eab7efea3fb9886f4ef14f597d6ef5 | |
parent | fix `swap generic' , add IPFILTER, add a useful le0 (diff) | |
download | wireguard-openbsd-10dda6770bfe9a3611cbe55a8d48f1645355cf57.tar.xz wireguard-openbsd-10dda6770bfe9a3611cbe55a8d48f1645355cf57.zip |
do not access sc_link before set
-rw-r--r-- | sys/dev/isa/aha.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index 34443d22b77..a8a8aae7ffb 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.22 1996/05/31 10:57:04 deraadt Exp $ */ +/* $OpenBSD: aha.c,v 1.23 1996/06/01 12:18:30 deraadt Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #define AHADIAG @@ -1361,15 +1361,15 @@ aha_timeout(arg) struct aha_softc *sc; int s; - sc_print_addr(sc_link); - printf("timed out"); - s = splbio(); isadma_copyfrombuf((caddr_t)ccb, CCB_PHYS_SIZE, 1, ccb->ccb_phys); xs = ccb->xs; sc_link = xs->sc_link; sc = sc_link->adapter_softc; + sc_print_addr(sc_link); + printf("timed out"); + #ifdef AHADIAG /* * If The ccb's mbx is not free, then the board has gone south? |