Date: Sat, 14 Jul 2012 21:28:11 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r238459 - projects/fuse/sys/fs/fuse Message-ID: <201207142128.q6ELSBq5008430@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207142128.q6ELSBq5008430>