summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 06:27:45 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2001-03-25 06:27:45 +0000
commit4337268f4000db5fcd9bdb8bce729ef098a77265 (patch)
tree000c239351fe88e79d9a2650bcebc2e2fca3822e /sys
parent5d4f9512e0edf39fafe010440a0edd1ba5ba2a3a (diff)
Missing splx(). Thanks to Dawson and team for finding this
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/xl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c
index 2088477cbda..86332ef92bc 100644
--- a/sys/dev/ic/xl.c
+++ b/sys/dev/ic/xl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xl.c,v 1.21 2001/02/20 19:39:38 mickey Exp $ */
+/* $OpenBSD: xl.c,v 1.22 2001/03/25 06:27:44 csapuntz Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1922,6 +1922,7 @@ void xl_init(xsc)
printf("xl%d: initialization failed: no "
"memory for rx buffers\n", sc->xl_unit);
xl_stop(sc);
+ splx(s);
return;
}