aboutsummaryrefslogtreecommitdiffstats
path: root/tests/oap/oap_client_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oap/oap_client_test.c')
-rw-r--r--tests/oap/oap_client_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/oap/oap_client_test.c b/tests/oap/oap_client_test.c
index 7adae83ca..87d207057 100644
--- a/tests/oap/oap_client_test.c
+++ b/tests/oap/oap_client_test.c
@@ -252,8 +252,9 @@ static struct log_info info = {
int main(int argc, char **argv)
{
- msgb_talloc_ctx_init(NULL, 0);
- osmo_init_logging(&info);
+ void *ctx = talloc_named_const(NULL, 0, "oap_client_test");
+ msgb_talloc_ctx_init(ctx, 0);
+ osmo_init_logging2(ctx, &info);
OSMO_ASSERT(osmo_stderr_target);
log_set_use_color(osmo_stderr_target, 0);