tdb: fix debug message in tdb_free()
authorMichael Adam <obnox@samba.org>
Mon, 10 Feb 2014 00:51:39 +0000 (01:51 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 26 Jun 2014 08:00:11 +0000 (10:00 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/tdb/common/freelist.c

index acc9f13e06fc01a636765011b14bc9039cad6972..ffd4bcdc952e4deddd417a858ec0a897a4906ab8 100644 (file)
@@ -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);