summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-11-20 05:19:29 +0000
committermiod <miod@openbsd.org>2013-11-20 05:19:29 +0000
commit1c30f8284ce310f920d4756024376e54298b6028 (patch)
treefcd2152f94f18de7d6f409af8b75e7ccf45bd2f6
parentthis implementation may now be capable of shared semaphores (diff)
downloadwireguard-openbsd-1c30f8284ce310f920d4756024376e54298b6028.tar.xz
wireguard-openbsd-1c30f8284ce310f920d4756024376e54298b6028.zip
give this a real chance to compile
-rw-r--r--sys/arch/hp300/dev/hd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index e4a6f3ee926..4bfd3ef7848 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.74 2013/11/20 00:12:37 dlg Exp $ */
+/* $OpenBSD: hd.c,v 1.75 2013/11/20 05:19:29 miod Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -650,7 +650,6 @@ hdstrategy(bp)
{
int unit = DISKUNIT(bp->b_dev);
struct hd_softc *rs;
- struct buf *dp;
int s;
rs = hdlookup(unit);
@@ -673,8 +672,8 @@ hdstrategy(bp)
bufq_queue(&rs->sc_bufq, bp);
s = splbio();
- if (rs->b_bp == NULL) {
- rs->sc_bp = bufq_dequeue(rs->sc_bufq);
+ if (rs->sc_bp == NULL) {
+ rs->sc_bp = bufq_dequeue(&rs->sc_bufq);
hdustart(rs);
}
splx(s);