summaryrefslogtreecommitdiff
path: root/src/block/block_addr.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-01-31 11:14:29 -0500
committerKeith Bostic <keith@wiredtiger.com>2013-01-31 11:14:29 -0500
commit689096f0cb90575c8db7aa9c5cc94394489a733b (patch)
treef238cb3325bdba33f81807fc1e484390be0ab9de /src/block/block_addr.c
parent2cb7dea16d98ac4606e06d8ce8526bf348455074 (diff)
downloadmongo-689096f0cb90575c8db7aa9c5cc94394489a733b.tar.gz
Fix an error message, we might someday have more than one checkpoint version.
Diffstat (limited to 'src/block/block_addr.c')
-rw-r--r--src/block/block_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/block_addr.c b/src/block/block_addr.c
index 37af46a7124..359d229bf10 100644
--- a/src/block/block_addr.c
+++ b/src/block/block_addr.c
@@ -141,7 +141,7 @@ __wt_block_buffer_to_ckpt(WT_SESSION_IMPL *session,
ci->version = *p++;
if (ci->version != WT_BM_CHECKPOINT_VERSION)
- WT_RET_MSG(session, WT_ERROR, "illegal checkpoint address");
+ WT_RET_MSG(session, WT_ERROR, "unsupported checkpoint version");
pp = &p;
WT_RET(__block_buffer_to_addr(block, pp,
@@ -171,7 +171,7 @@ __wt_block_ckpt_to_buffer(WT_SESSION_IMPL *session,
uint64_t a;
if (ci->version != WT_BM_CHECKPOINT_VERSION)
- WT_RET_MSG(session, WT_ERROR, "illegal checkpoint address");
+ WT_RET_MSG(session, WT_ERROR, "unsupported checkpoint version");
(*pp)[0] = ci->version;
(*pp)++;