summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2017-10-30 14:31:09 -0400
committersueloverso <sue@mongodb.com>2017-10-30 14:31:09 -0400
commit77e6c65b7c441628b61433192862df891849274c (patch)
tree45015f20af49abf4edec3e4b647bfe6a0222fdac
parenta9eb7d7943f2e8d1e48296f6fbb64fa2f238acff (diff)
downloadmongo-77e6c65b7c441628b61433192862df891849274c.tar.gz
WT-3708 PRIu64 format incorrectly specified for size_t (#3768)
-rw-r--r--src/btree/bt_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c
index 0d33fd163a9..3df5920830c 100644
--- a/src/btree/bt_debug.c
+++ b/src/btree/bt_debug.c
@@ -733,7 +733,8 @@ __debug_page_metadata(WT_DBG *ds, WT_REF *ref)
WT_RET(ds->f(ds, ", entries %" PRIu32, entries));
WT_RET(ds->f(ds,
", %s", __wt_page_is_modified(page) ? "dirty" : "clean"));
- WT_RET(ds->f(ds, ", memory_size %" PRIu64, page->memory_footprint));
+ WT_RET(ds->f(ds,
+ ", memory_size %" WT_SIZET_FMT, page->memory_footprint));
if (F_ISSET_ATOMIC(page, WT_PAGE_BUILD_KEYS))
WT_RET(ds->f(ds, ", keys-built"));