Small fallout from my __attribute__((format(printf,x,y))) testing.
Signed-off-by: Mika Kukkonen <mikukkon@xxxxxxxxx>
--- linux-2.6.orig/fs/xfs/xfs_ialloc.c 2005-07-13 23:27:38.000000000 +0300
+++ linux-2.6/fs/xfs/xfs_ialloc.c 2005-08-05 08:55:57.000000000 +0300
@@ -957,8 +957,8 @@
agino = XFS_INO_TO_AGINO(mp, inode);
if (inode != XFS_AGINO_TO_INO(mp, agno, agino)) {
cmn_err(CE_WARN,
- "xfs_difree: inode != XFS_AGINO_TO_INO() (%d != %d) on
%s. Returning EINVAL.",
+ "xfs_difree: inode != XFS_AGINO_TO_INO() (%llu != %llu)
on %s. Returning EINVAL.",
inode, XFS_AGINO_TO_INO(mp, agno, agino), mp->m_fsname);
ASSERT(0);
return XFS_ERROR(EINVAL);
--- linux-2.6.orig/fs/xfs/xfs_inode.c 2005-07-13 23:27:38.000000000 +0300
+++ linux-2.6/fs/xfs/xfs_inode.c 2005-08-05 08:57:50.000000000 +0300
@@ -194,8 +194,8 @@
if ((imap.im_blkno + imap.im_len) >
XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) {
cmn_err(CE_WARN,
- "xfs_inotobp: inode number (%d + %d) maps to a block outside the bounds
"
+ "xfs_inotobp: inode number (%llu + %d) maps to a block outside the
bounds "
"of the file system %s. Returning EINVAL.",
imap.im_blkno, imap.im_len,mp->m_fsname);
return XFS_ERROR(EINVAL);
--- linux-2.6.orig/fs/xfs/xfs_mount.c 2005-07-13 23:27:38.000000000 +0300
+++ linux-2.6/fs/xfs/xfs_mount.c 2005-08-05 08:58:23.000000000 +0300
@@ -318,7 +318,7 @@
"XFS: Attempted to mount file system with blocksize %d bytes",
sbp->sb_blocksize);
cmn_err(CE_WARN,
- "XFS: Only page-sized (%d) or less blocksizes currently work.",
+ "XFS: Only page-sized (%lu) or less blocksizes currently work.",
PAGE_SIZE);
return XFS_ERROR(ENOSYS);
}
|