summaryrefslogtreecommitdiff
path: root/bdb/hash
diff options
context:
space:
mode:
Diffstat (limited to 'bdb/hash')
-rw-r--r--bdb/hash/hash_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/hash/hash_open.c b/bdb/hash/hash_open.c
index 041a1df1e7b..f976f5b6816 100644
--- a/bdb/hash/hash_open.c
+++ b/bdb/hash/hash_open.c
@@ -409,7 +409,7 @@ __ham_new_file(dbp, txn, fhp, name)
goto err;
} else {
#ifdef DIAGNOSTIC
- memset(buf, dbp->pgsize, 0);
+ memset(buf, 0, dbp->pgsize);
#endif
page = (PAGE *)buf;
}