diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-11-20 05:19:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-11-20 05:19:30 +0000 |
commit | bcc2da2ea032151b610de1cac4967b9c293f7c90 (patch) | |
tree | 4bd8dd720ddf07a694551e2a8664e1879b6dffb5 /sys/arch/hp300 | |
parent | ca85a6fe40676153f5bfacb6f7d94315ee20d7bd (diff) |
give this a real chance to compile
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/dev/hd.c | 7 |
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); |