summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_disklabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c
index 2924c55..a0f2f3d 100644
--- a/sys/kern/subr_disklabel.c
+++ b/sys/kern/subr_disklabel.c
@@ -89,7 +89,7 @@ bioqdisksort(bioq, bp)
if (td && td->td_ksegrp->kg_nice > 0) {
TAILQ_FOREACH(bn, &bioq->queue, bio_queue)
- if (BIOTOBUF(bn)->b_vp != BIOTOBUF(bn)->b_vp)
+ if (BIOTOBUF(bp)->b_vp != BIOTOBUF(bn)->b_vp)
break;
if (bn != NULL) {
mtx_lock(&dksort_mtx);
OpenPOWER on IntegriCloud