summaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-07-24 13:46:28 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-07-24 13:46:28 -0400
commit5813133dafaa82c0ed2b557fd628cbedd87a0371 (patch)
tree02064fb835d179fb1f0affa1d475325bbeea1b02 /src/block
parent24fc979055bf6a0863eb0a70639c55b348296a5f (diff)
downloadmongo-5813133dafaa82c0ed2b557fd628cbedd87a0371.tar.gz
Don's review, use "checksum" in the message, not "cksum".
Diffstat (limited to 'src/block')
-rw-r--r--src/block/block_read.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/block/block_read.c b/src/block/block_read.c
index a6aaa029c4d..0d631396b41 100644
--- a/src/block/block_read.c
+++ b/src/block/block_read.c
@@ -204,15 +204,17 @@ __wt_block_read_off(WT_SESSION_IMPL *session, WT_BLOCK *block,
__wt_errx(session,
"read checksum error for %" PRIu32 "B block at "
"offset %" PRIuMAX ": calculated block checksum "
- "of %" PRIu32 " doesn't match expected cksum of %"
- PRIu32, size, (uintmax_t)offset, page_cksum, cksum);
+ "of %" PRIu32 " doesn't match expected checksum "
+ "of %" PRIu32,
+ size, (uintmax_t)offset, page_cksum, cksum);
} else
if (!F_ISSET(session, WT_SESSION_SALVAGE_CORRUPT_OK))
__wt_errx(session,
"read checksum error for %" PRIu32 "B block at "
"offset %" PRIuMAX ": block header checksum "
- "of %" PRIu32 " doesn't match expected cksum of %"
- PRIu32, size, (uintmax_t)offset, blk->cksum, cksum);
+ "of %" PRIu32 " doesn't match expected checksum "
+ "of %" PRIu32,
+ size, (uintmax_t)offset, blk->cksum, cksum);
/* Panic if a checksum fails during an ordinary read. */
return (block->verify ||