summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-01-21 06:42:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-01-21 06:42:53 +0000
commit4371f8f9a0d7ce2483bb553d55e2979772d18fc5 (patch)
treed3cd4f30a250f4e0091ec057993ba08807f64f1d
parent2f6fe83292fede31cc6bca7bd68d003967c7113c (diff)
Actually use the correct TAILQ field.
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index fc80c98bc6f..5a1a88adaa3 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.324 2014/01/21 04:23:14 jsing Exp $ */
+/* $OpenBSD: softraid.c,v 1.325 2014/01/21 06:42:52 jsing Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -2146,7 +2146,7 @@ sr_wu_free(struct sr_discipline *sd)
TAILQ_REMOVE(&sd->sd_wu_defq, wu, swu_link);
while ((wu = TAILQ_FIRST(&sd->sd_wu)) != NULL) {
- TAILQ_REMOVE(&sd->sd_wu, wu, swu_link);
+ TAILQ_REMOVE(&sd->sd_wu, wu, swu_next);
free(wu, M_DEVBUF);
}
}