Browse Source

Fix tracing for tdb_chainunlock.

Rusty Russell 16 years ago
parent
commit
83a1386b50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/tdb/lock.c

+ 1 - 1
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)
 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);
 	return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK);
 }
 }