aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2013-07-07 21:39:37 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2013-07-07 21:39:37 +0000
commitd7b5c50b92a1079e869f2bdc5193f3163cac484d (patch)
tree009ef8c32b76491687028e68bfebc3caa722c2ad /sys/kern/vfs_bio.c
parent279cd1010a83f10db8b1a335857b375494cf2fd1 (diff)
downloadsrc-d7b5c50b92a1079e869f2bdc5193f3163cac484d.tar.gz
src-d7b5c50b92a1079e869f2bdc5193f3163cac484d.zip
Make kassert_printf use __printflike.
Fix associated errors/warnings while I'm here. Requested by: avg
Notes
Notes: svn path=/head/; revision=253007
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index f6d5a85bfe29..c5af3f585a2d 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -4485,8 +4485,8 @@ bdata2bio(struct buf *bp, struct bio *bip)
bip->bio_flags |= BIO_UNMAPPED;
KASSERT(round_page(bip->bio_ma_offset + bip->bio_length) /
PAGE_SIZE == bp->b_npages,
- ("Buffer %p too short: %d %d %d", bp, bip->bio_ma_offset,
- bip->bio_length, bip->bio_ma_n));
+ ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset,
+ (long long)bip->bio_length, bip->bio_ma_n));
} else {
bip->bio_data = bp->b_data;
bip->bio_ma = NULL;