summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-11-02 10:21:35 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 10:21:35 +1100
commitda1650a5d6026df1bde414173c40bbe09305e6e6 (patch)
tree09862bd032a5bacf24ba22b1938b529ceef917d7 /fs/xfs/xfs_bmap.c
parent88741a95af0ecf3a745051bdc1d16897d3990cec (diff)
downloadlinux-da1650a5d6026df1bde414173c40bbe09305e6e6.tar.bz2
[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_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 3e76def1283d..26645d267f1b 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -6131,7 +6131,7 @@ error0:
xfs_trans_brelse(NULL, bp);
error_norelse:
cmn_err(CE_WARN, "%s: BAD after btree leaves for %d extents",
- i, __FUNCTION__);
+ __FUNCTION__, i);
panic("%s: CORRUPTED BTREE OR SOMETHING", __FUNCTION__);
return;
}