summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/run-tdb1-wronghash-fail.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb2/test/run-tdb1-wronghash-fail.c')
-rw-r--r--lib/tdb2/test/run-tdb1-wronghash-fail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb2/test/run-tdb1-wronghash-fail.c b/lib/tdb2/test/run-tdb1-wronghash-fail.c
index 5a7e311a9c..15047677a2 100644
--- a/lib/tdb2/test/run-tdb1-wronghash-fail.c
+++ b/lib/tdb2/test/run-tdb1-wronghash-fail.c
@@ -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, "hash"))
(*count)++;
}