diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-31 10:21:02 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-31 10:21:02 +0000 |
commit | 36290fdef646ea6813257d810184e0884d5ade3f (patch) | |
tree | 15eb03e75212065112546fb84f74172bb49b6de7 /sys/arch/hp300/dev | |
parent | 4144b5fd42e8441bc5d51c45c5de2babeb482a23 (diff) |
Initialize bp->b_dep if we malloc our own struct buf.
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r-- | sys/arch/hp300/dev/ac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/ac.c b/sys/arch/hp300/dev/ac.c index 657ddc7a1c4..693444f5114 100644 --- a/sys/arch/hp300/dev/ac.c +++ b/sys/arch/hp300/dev/ac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ac.c,v 1.7 1997/04/20 07:01:11 downsj Exp $ */ +/* $OpenBSD: ac.c,v 1.8 2001/05/31 10:21:01 art Exp $ */ /* $NetBSD: ac.c,v 1.9 1997/04/02 22:37:21 scottr Exp $ */ /* @@ -330,6 +330,7 @@ accommand(dev, command, bufp, buflen) bp->b_resid = 0; bp->b_blkno = 0; bp->b_error = 0; + LIST_INIT(&bp->b_dep); if (scsireq(sc->sc_dev.dv_parent, &sc->sc_sq)) acstart(sc); error = biowait(bp); |