aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bsc-nat-trie/bsc_nat_trie_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bsc-nat-trie/bsc_nat_trie_test.c')
-rw-r--r--tests/bsc-nat-trie/bsc_nat_trie_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bsc-nat-trie/bsc_nat_trie_test.c b/tests/bsc-nat-trie/bsc_nat_trie_test.c
index 1c48564a4..32323d9fa 100644
--- a/tests/bsc-nat-trie/bsc_nat_trie_test.c
+++ b/tests/bsc-nat-trie/bsc_nat_trie_test.c
@@ -39,8 +39,8 @@ static const struct log_info log_info = {
int main(int argc, char **argv)
{
struct nat_rewrite *trie;
-
- osmo_init_logging(&log_info);
+ void *tall_ctx = talloc_named_const(NULL, 1, "bsc_nat_trie_test");
+ osmo_init_logging2(tall_ctx, &log_info);
printf("Testing the trie\n");