diff options
author | alfred <alfred@FreeBSD.org> | 2013-07-07 21:39:37 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2013-07-07 21:39:37 +0000 |
commit | 89aac2b3a13c12edc057e517be17889ed45226dc (patch) | |
tree | 009ef8c32b76491687028e68bfebc3caa722c2ad /sys/kern/vfs_bio.c | |
parent | 229a41531c64f7fcc574b62e2bf82452b5170b93 (diff) | |
download | FreeBSD-src-89aac2b3a13c12edc057e517be17889ed45226dc.zip FreeBSD-src-89aac2b3a13c12edc057e517be17889ed45226dc.tar.gz |
Make kassert_printf use __printflike.
Fix associated errors/warnings while I'm here.
Requested by: avg
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index f6d5a85..c5af3f5 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; |