]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/lock.c
str: change example to match function being explained.
[ccan] / ccan / tdb2 / lock.c
index 0b30af54c52bb77ac5a42e1318580114c7ec364a..88dbdd42c4899ebff6e57b52a70dc830195d507b 100644 (file)
@@ -495,12 +495,12 @@ again:
                return -1;
        }
 
-       /* Lock free lists: there to end of file. */
+       /* Lock free tables: there to end of file. */
        if (tdb_brlock(tdb, ltype, TDB_HASH_LOCK_START + TDB_HASH_LOCK_RANGE,
                       0, flags)) {
                if (!(flags & TDB_LOCK_PROBE)) {
                        tdb_logerr(tdb, tdb->ecode, TDB_DEBUG_ERROR,
-                                "tdb_allrecord_lock freelist failed");
+                                "tdb_allrecord_lock freetables failed");
                }
                tdb_brunlock(tdb, ltype, TDB_HASH_LOCK_START, 
                             TDB_HASH_LOCK_RANGE);