summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-05 22:03:26 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-05 22:03:26 +0000
commitdcd93ffe5ae627784c5a9f46fa2c7c35e899c9a1 (patch)
tree01f0d2dcb1e5b111e5feff8db181cf07cfff9b13 /sys/dev/ic
parent8e720eb87058fe44dffbfcc1104691639cd9ac74 (diff)
Don't forget to init b_dep.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/wdc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index 9980abc265e..f16b859f1cb 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.32 2001/05/01 02:26:42 csapuntz Exp $ */
+/* $OpenBSD: wdc.c,v 1.33 2001/06/05 22:03:25 art Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -2047,6 +2047,7 @@ wdc_ioctl(drvp, xfer, addr, flag)
wi->wi_bp.b_bcount = 0;
wi->wi_bp.b_dev = 0;
wi->wi_bp.b_proc = curproc;
+ LIST_INIT(&wi->wi_bp->b_dep);
wdc_ioctl_strategy(&wi->wi_bp);
error = wi->wi_bp.b_error;
}