summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-06-15 00:30:27 +0000
committerpeter <peter@FreeBSD.org>2001-06-15 00:30:27 +0000
commit8c7837e7b6ccdd8d37da99683bfc224ec698a686 (patch)
tree1095eeb87f71ea6b2389927c9ddb88b4505aa257
parent964d84d5a2347ff7ea73998d77d6a4254c5c8b79 (diff)
downloadFreeBSD-src-8c7837e7b6ccdd8d37da99683bfc224ec698a686.zip
FreeBSD-src-8c7837e7b6ccdd8d37da99683bfc224ec698a686.tar.gz
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
-rw-r--r--sys/fs/hpfs/hpfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud