summaryrefslogtreecommitdiff
path: root/bdb/log/log_rec.c
diff options
context:
space:
mode:
Diffstat (limited to 'bdb/log/log_rec.c')
-rw-r--r--bdb/log/log_rec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/log/log_rec.c b/bdb/log/log_rec.c
index ad6d9f7ead2..493dd06d4c6 100644
--- a/bdb/log/log_rec.c
+++ b/bdb/log/log_rec.c
@@ -430,7 +430,7 @@ __log_add_logid(dbenv, logp, dbp, ndx)
TAILQ_INIT(&logp->dbentry[i].dblist);
else
TAILQ_REINSERT_HEAD(
- &logp->dbentry[i].dblist, dbp, links);
+ &logp->dbentry[i].dblist, dbtmp, links);
}
/* Initialize the new entries. */