summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-05-23 06:49:50 +0000
committerdelphij <delphij@FreeBSD.org>2012-05-23 06:49:50 +0000
commit884daaab74867d4f13e08dc1743d1406fef4f16c (patch)
treecd77b726d66e2e16c790af2eed92ab0452a5bc83 /sys/gnu
parentf424aba68abe8838508f46c333c31026298215ab (diff)
downloadFreeBSD-src-884daaab74867d4f13e08dc1743d1406fef4f16c.zip
FreeBSD-src-884daaab74867d4f13e08dc1743d1406fef4f16c.tar.gz
Fix build:
- Use %ll instead of %q for explicit long long casts; - Use %j instead of %q in XFS and cast to intmax_t. Tested with: make universe
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_buf.c b/sys/gnu/fs/xfs/FreeBSD/xfs_buf.c
index ff06865..b1821a8 100644
--- a/sys/gnu/fs/xfs/FreeBSD/xfs_buf.c
+++ b/sys/gnu/fs/xfs/FreeBSD/xfs_buf.c
@@ -50,8 +50,8 @@ xfs_buf_read_flags(xfs_buftarg_t *target, xfs_daddr_t blkno, size_t len, int fla
KASSERT((target != NULL), ("got NULL buftarg_t"));
if (bread(target->specvp, blkno, BBTOB(len), NOCRED, &bp)) {
- printf("bread failed specvp %p blkno %qd BBTOB(len) %ld\n",
- target->specvp, blkno, (long)BBTOB(len));
+ printf("bread failed specvp %p blkno %jd BBTOB(len) %ld\n",
+ target->specvp, (intmax_t)blkno, (long)BBTOB(len));
bp = NULL;
}
OpenPOWER on IntegriCloud