From e36899e0aa2e9908b1835857b0c5d12fe09d1f51 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 23 Apr 2001 10:47:57 +0000 Subject: double splx in error path. --- sys/dev/ic/cac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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); -- cgit v1.2.3