From a1763b39a3349cf47ea476721eb8098848170e66 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 7 Sep 2004 13:51:03 +0000 Subject: r2239: Fixup formatting errors in TDB_LOG calls. Add printf attribute support to tdb log functions. (This used to be commit 67c737118faaeae9bd723516ea60657046e135a8) --- source3/tdb/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/tdb/tdb.c') diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index ac159863bd..ae4e439c90 100644 --- a/source3/tdb/tdb.c +++ b/source3/tdb/tdb.c @@ -276,7 +276,7 @@ static int tdb_lock(TDB_CONTEXT *tdb, int list, int ltype) if (tdb->locked[list+1].count == 0) { if (!tdb->read_only && tdb->header.rwlocks) { if (tdb_spinlock(tdb, list, ltype)) { - TDB_LOG((tdb, 0, "tdb_lock spinlock failed on list ltype=%d\n", + TDB_LOG((tdb, 0, "tdb_lock spinlock failed on list %d ltype=%d\n", list, ltype)); return -1; } -- cgit