diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-08-12 16:24:25 -0700 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-09-08 14:25:53 +0800 |
commit | dc696aced9f09f05b1f927b93f5a7918017a3e49 (patch) | |
tree | a2101f7a73a758118d11de70cbd0ad81180fb07f /fs/ocfs2/blockcheck.c | |
parent | 2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff) | |
download | blackbird-op-linux-dc696aced9f09f05b1f927b93f5a7918017a3e49.tar.gz blackbird-op-linux-dc696aced9f09f05b1f927b93f5a7918017a3e49.zip |
ocfs2: Fix metaecc error messages
Like tools, the checksum validate function now prints the values in hex.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Singed-off-by: Tao Ma <tao.ma@oracle.com>
Diffstat (limited to 'fs/ocfs2/blockcheck.c')
-rw-r--r-- | fs/ocfs2/blockcheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/blockcheck.c b/fs/ocfs2/blockcheck.c index ec6d12339593..c7ee03c22226 100644 --- a/fs/ocfs2/blockcheck.c +++ b/fs/ocfs2/blockcheck.c @@ -439,7 +439,7 @@ int ocfs2_block_check_validate(void *data, size_t blocksize, ocfs2_blockcheck_inc_failure(stats); mlog(ML_ERROR, - "CRC32 failed: stored: %u, computed %u. Applying ECC.\n", + "CRC32 failed: stored: 0x%x, computed 0x%x. Applying ECC.\n", (unsigned int)check.bc_crc32e, (unsigned int)crc); /* Ok, try ECC fixups */ @@ -453,7 +453,7 @@ int ocfs2_block_check_validate(void *data, size_t blocksize, goto out; } - mlog(ML_ERROR, "Fixed CRC32 failed: stored: %u, computed %u\n", + mlog(ML_ERROR, "Fixed CRC32 failed: stored: 0x%x, computed 0x%x\n", (unsigned int)check.bc_crc32e, (unsigned int)crc); rc = -EIO; |