diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-09 22:19:21 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-04-17 21:51:26 -0400 |
commit | 34a622b2e1c8e11c8990184634f101c1aad42fec (patch) | |
tree | 4a82ae6c61bf5d4cf90b931a84362b154e04184d /fs/xfs/xfs_log_recover.c | |
parent | 0225da1f35df46c67785eb08526995d7cdb4e3b0 (diff) |
[XFS] replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
SGI-PV: 976035
SGI-Modid: xfs-linux-melb:xfs-kern:30775a
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 962d74a9ea7e..c37521467fdc 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -192,7 +192,7 @@ xlog_header_check_dump( | |||
192 | { | 192 | { |
193 | int b; | 193 | int b; |
194 | 194 | ||
195 | cmn_err(CE_DEBUG, "%s: SB : uuid = ", __FUNCTION__); | 195 | cmn_err(CE_DEBUG, "%s: SB : uuid = ", __func__); |
196 | for (b = 0; b < 16; b++) | 196 | for (b = 0; b < 16; b++) |
197 | cmn_err(CE_DEBUG, "%02x", ((uchar_t *)&mp->m_sb.sb_uuid)[b]); | 197 | cmn_err(CE_DEBUG, "%02x", ((uchar_t *)&mp->m_sb.sb_uuid)[b]); |
198 | cmn_err(CE_DEBUG, ", fmt = %d\n", XLOG_FMT); | 198 | cmn_err(CE_DEBUG, ", fmt = %d\n", XLOG_FMT); |
@@ -3447,7 +3447,7 @@ xlog_valid_rec_header( | |||
3447 | (!rhead->h_version || | 3447 | (!rhead->h_version || |
3448 | (be32_to_cpu(rhead->h_version) & (~XLOG_VERSION_OKBITS))))) { | 3448 | (be32_to_cpu(rhead->h_version) & (~XLOG_VERSION_OKBITS))))) { |
3449 | xlog_warn("XFS: %s: unrecognised log version (%d).", | 3449 | xlog_warn("XFS: %s: unrecognised log version (%d).", |
3450 | __FUNCTION__, be32_to_cpu(rhead->h_version)); | 3450 | __func__, be32_to_cpu(rhead->h_version)); |
3451 | return XFS_ERROR(EIO); | 3451 | return XFS_ERROR(EIO); |
3452 | } | 3452 | } |
3453 | 3453 | ||