]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-tdb1-rwlock-check.c
tdb2: Remove unused tdb1 functions.
[ccan] / ccan / tdb2 / test / run-tdb1-rwlock-check.c
index 5d438d3883c6fb82459e51af220081340835ca84..f40a6fe13ec1148e6ed9281fa2193b03049cfb85 100644 (file)
@@ -5,7 +5,7 @@
 
 static void log_fn(struct tdb1_context *tdb, enum tdb1_debug_level level, const char *fmt, ...)
 {
-       unsigned int *count = tdb1_get_logging_private(tdb);
+       unsigned int *count = tdb->log.log_private;
        if (strstr(fmt, "spinlocks"))
                (*count)++;
 }