aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gsm0408/gsm0408_test.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-05 05:31:14 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-05 15:15:30 +0100
commitb10c480d9926378f20521c97f120a6895c09a53b (patch)
tree1fae54e82e2d8c7e5370492eafb35b398db98449 /tests/gsm0408/gsm0408_test.c
parentf7a6329bbd5dd621eccc10a05141b58f3b72ec06 (diff)
ctx cleanups WIPneels/deb9-asan
Diffstat (limited to 'tests/gsm0408/gsm0408_test.c')
-rw-r--r--tests/gsm0408/gsm0408_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gsm0408/gsm0408_test.c b/tests/gsm0408/gsm0408_test.c
index 9f5a5c41f..3957bfb32 100644
--- a/tests/gsm0408/gsm0408_test.c
+++ b/tests/gsm0408/gsm0408_test.c
@@ -831,7 +831,9 @@ int main(int argc, char **argv)
{
struct gsm_network *net;
- osmo_init_logging(&log_info);
+ tall_bsc_ctx = talloc_named_const(NULL, 0, "gsm0408_test");
+
+ osmo_init_logging2(&log_info, tall_bsc_ctx);
log_set_log_level(osmo_stderr_target, LOGL_INFO);
net = bsc_network_init(tall_bsc_ctx);