summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/log/log_rec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/log/log_rec.c b/db/log/log_rec.c
index a87184829..7f2857e3d 100644
--- a/db/log/log_rec.c
+++ b/db/log/log_rec.c
@@ -404,7 +404,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. */