summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-10 01:51:39 +0100
committerVolker Lendecke <vl@samba.org>2014-06-26 10:00:11 +0200
commit63673aea9ffb29cb28329c2982fccbbefa24242d (patch)
treed3e3611ee42a71b6cf0c810c044693e36c3bf842
parent08a76aabe931fdb39eec9ae51ce659302268db86 (diff)
downloadsamba-63673aea9ffb29cb28329c2982fccbbefa24242d.tar.gz
samba-63673aea9ffb29cb28329c2982fccbbefa24242d.tar.xz
samba-63673aea9ffb29cb28329c2982fccbbefa24242d.zip
tdb: fix debug message in tdb_free()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
-rw-r--r--lib/tdb/common/freelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/freelist.c b/lib/tdb/common/freelist.c
index acc9f13e06..ffd4bcdc95 100644
--- a/lib/tdb/common/freelist.c
+++ b/lib/tdb/common/freelist.c
@@ -219,7 +219,7 @@ left:
goto fail;
}
if (update_tailer(tdb, left, &l) == -1) {
- TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_free: update_tailer failed at %u\n", offset));
+ TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_free: update_tailer failed at %u\n", left));
goto fail;
}
tdb_unlock(tdb, -1, F_WRLCK);