summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-23 10:47:57 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-23 10:47:57 +0000
commite36899e0aa2e9908b1835857b0c5d12fe09d1f51 (patch)
tree8c4fc13306c32f6ad85e8e5a4cfef4af13380bac /sys/dev
parent91d06d9b377f686ad99d46781a05bb22995730f1 (diff)
double splx in error path.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/cac.c6
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);