From: Rusty Russell Date: Thu, 16 Jul 2009 08:36:10 +0000 (+0930) Subject: Fix tracing for tdb_chainunlock. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=83a1386b50966eb9667478c7cef9154dbd622541 Fix tracing for tdb_chainunlock. --- diff --git a/ccan/tdb/lock.c b/ccan/tdb/lock.c index 6809ce37..117596a3 100644 --- a/ccan/tdb/lock.c +++ b/ccan/tdb/lock.c @@ -500,7 +500,7 @@ int tdb_chainlock_unmark(struct tdb_context *tdb, TDB_DATA key) int tdb_chainunlock(struct tdb_context *tdb, TDB_DATA key) { - tdb_trace_1rec(tdb, "tdb_chainlock", key); + tdb_trace_1rec(tdb, "tdb_chainunlock", key); return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); }