summaryrefslogtreecommitdiff
path: root/source3/tdb/common/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/common/open.c')
-rw-r--r--source3/tdb/common/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/common/open.c b/source3/tdb/common/open.c
index e1f21aa856..224103e679 100644
--- a/source3/tdb/common/open.c
+++ b/source3/tdb/common/open.c
@@ -372,9 +372,9 @@ int tdb_close(struct tdb_context *tdb)
/* register a loging function */
void tdb_set_logging_function(struct tdb_context *tdb,
- const struct tdb_logging_context *log)
+ const struct tdb_logging_context *log_ctx)
{
- tdb->log = *log;
+ tdb->log = *log_ctx;
}
void *tdb_get_logging_private(struct tdb_context *tdb)