aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-11-01 18:21:35 -0500
committerNathan Scott <nathans@sgi.com>2005-11-01 18:21:35 -0500
commitda1650a5d6026df1bde414173c40bbe09305e6e6 (patch)
tree09862bd032a5bacf24ba22b1938b529ceef917d7 /fs/xfs/xfs_inode.c
parent88741a95af0ecf3a745051bdc1d16897d3990cec (diff)
[XFS] Add format checking to cmn_err and icmn_err
SGI-PV: 942243 SGI-Modid: xfs-linux:xfs-kern:198658a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index db43308aae93..5bf7b709f91a 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -194,9 +194,10 @@ xfs_inotobp(
194 if ((imap.im_blkno + imap.im_len) > 194 if ((imap.im_blkno + imap.im_len) >
195 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) { 195 XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks)) {
196 cmn_err(CE_WARN, 196 cmn_err(CE_WARN,
197 "xfs_inotobp: inode number (%d + %d) maps to a block outside the bounds " 197 "xfs_inotobp: inode number (%llu + %d) maps to a block outside the bounds "
198 "of the file system %s. Returning EINVAL.", 198 "of the file system %s. Returning EINVAL.",
199 imap.im_blkno, imap.im_len,mp->m_fsname); 199 (unsigned long long)imap.im_blkno,
200 imap.im_len, mp->m_fsname);
200 return XFS_ERROR(EINVAL); 201 return XFS_ERROR(EINVAL);
201 } 202 }
202 203