diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-11-01 18:21:35 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-01 18:21:35 -0500 |
commit | da1650a5d6026df1bde414173c40bbe09305e6e6 (patch) | |
tree | 09862bd032a5bacf24ba22b1938b529ceef917d7 /fs/xfs/xfs_log.c | |
parent | 88741a95af0ecf3a745051bdc1d16897d3990cec (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_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 54a6f1142403..51814c32eddf 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -3533,7 +3533,9 @@ xlog_verify_iclog(xlog_t *log, | |||
3533 | } | 3533 | } |
3534 | } | 3534 | } |
3535 | if (clientid != XFS_TRANSACTION && clientid != XFS_LOG) | 3535 | if (clientid != XFS_TRANSACTION && clientid != XFS_LOG) |
3536 | cmn_err(CE_WARN, "xlog_verify_iclog: invalid clientid %d op 0x%p offset 0x%x", clientid, ophead, field_offset); | 3536 | cmn_err(CE_WARN, "xlog_verify_iclog: " |
3537 | "invalid clientid %d op 0x%p offset 0x%lx", | ||
3538 | clientid, ophead, (unsigned long)field_offset); | ||
3537 | 3539 | ||
3538 | /* check length */ | 3540 | /* check length */ |
3539 | field_offset = (__psint_t) | 3541 | field_offset = (__psint_t) |