summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-19 04:07:29 +0000
committerbde <bde@FreeBSD.org>2002-03-19 04:07:29 +0000
commitc75458a00460e8a054b2cb7a51c7e2d481fccb58 (patch)
tree7e3a92f36952879b2f6dce5a288ae27cc1678ae4 /sys/dev/md
parent918221515eb9b2b81a0e9e30f75f0557fce5082a (diff)
downloadFreeBSD-src-c75458a00460e8a054b2cb7a51c7e2d481fccb58.zip
FreeBSD-src-c75458a00460e8a054b2cb7a51c7e2d481fccb58.tar.gz
The previous commit missed fixing 2 old printf format errors and
introduced a format printf error.
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 3b0eba9..46ee532 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -384,9 +384,9 @@ mdstrategy(struct bio *bp)
if (md_debug > 1)
printf("mdstrategy(%p) %s %x, %lld, %ld, %p)\n",
- bp, devtoname(bp->bio_dev), bp->bio_flags,
- (long long)bp->bio_blkno,
- bp->bio_bcount / DEV_BSIZE, bp->bio_data);
+ (void *)bp, devtoname(bp->bio_dev), bp->bio_flags,
+ (long long)bp->bio_blkno, bp->bio_bcount / DEV_BSIZE,
+ (void *)bp->bio_data);
sc = bp->bio_dev->si_drv1;
OpenPOWER on IntegriCloud