summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-06-05 16:55:41 +0000
committerart <art@openbsd.org>2002-06-05 16:55:41 +0000
commit13ef0a029805836a2e4e8004a2ff2566cbeb9718 (patch)
tree0a5de662eb5b3f8221969b914d3ae67f4a984a9e
parentremove warning. (diff)
downloadwireguard-openbsd-13ef0a029805836a2e4e8004a2ff2566cbeb9718.tar.xz
wireguard-openbsd-13ef0a029805836a2e4e8004a2ff2566cbeb9718.zip
splbio around biodone
-rw-r--r--sys/arch/amiga/dev/fd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amiga/dev/fd.c b/sys/arch/amiga/dev/fd.c
index a651a621d25..d37d49f46f7 100644
--- a/sys/arch/amiga/dev/fd.c
+++ b/sys/arch/amiga/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.15 2002/03/14 01:26:28 millert Exp $ */
+/* $OpenBSD: fd.c,v 1.16 2002/06/05 16:55:41 art Exp $ */
/* $NetBSD: fd.c,v 1.36 1996/12/23 09:09:59 veego Exp $ */
/*
@@ -733,7 +733,9 @@ bad:
bp->b_flags |= B_ERROR;
done:
bp->b_resid = bp->b_bcount;
+ s = splbio();
biodone(bp);
+ splx(s);
}
/*