From 63673aea9ffb29cb28329c2982fccbbefa24242d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 10 Feb 2014 01:51:39 +0100 Subject: tdb: fix debug message in tdb_free() Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- lib/tdb/common/freelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit