Fix tracing for tdb_chainunlock.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 16 Jul 2009 08:36:10 +0000 (18:06 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 16 Jul 2009 08:36:10 +0000 (18:06 +0930)
ccan/tdb/lock.c

index 6809ce37d87513986cc54fab82251004379557cb..117596a3f203814daa9e4611d96b1216de050643 100644 (file)
@@ -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);
 }