From 8c7837e7b6ccdd8d37da99683bfc224ec698a686 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 15 Jun 2001 00:30:27 +0000 Subject: Fix warnings (mostly harmless, due to struct bio being embedded in buf): 738: warning: passing arg 1 of `biodone' from incompatible pointer type 745: warning: passing arg 1 of `biodone' from incompatible pointer type --- sys/fs/hpfs/hpfs_vnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs') diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 2ec01ca..0e2a4b7 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -735,14 +735,14 @@ hpfs_strategy(ap) printf("hpfs_strategy: hpfs_bpbmap FAILED %d\n", error); bp->b_error = error; bp->b_ioflags |= BIO_ERROR; - biodone(bp); + biodone(&bp->b_io); return (error); } if ((long)bp->b_blkno == -1) vfs_bio_clrbuf(bp); } if ((long)bp->b_blkno == -1) { - biodone(bp); + biodone(&bp->b_io); return (0); } bp->b_dev = hp->h_devvp->v_rdev; -- cgit v1.1