svn commit: r238459 - projects/fuse/sys/fs/fuse
Attilio Rao
attilio at FreeBSD.org
Sat Jul 14 21:28:12 UTC 2012
Author: attilio
Date: Sat Jul 14 21:28:11 2012
New Revision: 238459
URL: http://svn.freebsd.org/changeset/base/238459
Log:
Fix format strings for a further DEBUG.
Partially submitted by: pho
Modified:
projects/fuse/sys/fs/fuse/fuse_io.c
Modified: projects/fuse/sys/fs/fuse/fuse_io.c
==============================================================================
--- projects/fuse/sys/fs/fuse/fuse_io.c Sat Jul 14 21:25:14 2012 (r238458)
+++ projects/fuse/sys/fs/fuse/fuse_io.c Sat Jul 14 21:28:11 2012 (r238459)
@@ -614,8 +614,9 @@ fuse_io_strategy(struct vnode *vp, struc
MPASS(vp->v_type == VREG);
MPASS(bp->b_iocmd == BIO_READ || bp->b_iocmd == BIO_WRITE);
- DEBUG("inode=%jd offset=%jd resid=%jd\n",
- VTOI(vp), ((off_t)bp->b_blkno) * biosize, bp->b_bcount);
+ DEBUG("inode=%ju offset=%jd resid=%ld\n",
+ (uintmax_t)VTOI(vp), (intmax_t)(((off_t)bp->b_blkno) * biosize),
+ bp->b_bcount);
error = fuse_filehandle_getrw(vp,
(bp->b_iocmd == BIO_READ) ? FUFH_RDONLY : FUFH_WRONLY, &fufh);
More information about the svn-src-projects
mailing list