diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-23 10:47:57 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-04-23 10:47:57 +0000 |
commit | e36899e0aa2e9908b1835857b0c5d12fe09d1f51 (patch) | |
tree | 8c4fc13306c32f6ad85e8e5a4cfef4af13380bac | |
parent | 91d06d9b377f686ad99d46781a05bb22995730f1 (diff) |
double splx in error path.
-rw-r--r-- | sys/dev/ic/cac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/cac.c b/sys/dev/ic/cac.c index 8307731e33c..4b41256df97 100644 --- a/sys/dev/ic/cac.c +++ b/sys/dev/ic/cac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac.c,v 1.4 2001/04/11 15:43:24 mickey Exp $ */ +/* $OpenBSD: cac.c,v 1.5 2001/04/23 10:47:56 art Exp $ */ /* $NetBSD: cac.c,v 1.15 2000/11/08 19:20:35 ad Exp $ */ /* @@ -710,8 +710,8 @@ cac_scsi_cmd(xs) splx(s); xs->error = XS_DRIVER_STUFFUP; scsi_done(xs); - } - splx(s); + } else + splx(s); return (COMPLETE); |