aboutsummaryrefslogtreecommitdiffstats
path: root/tests/emu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emu')
-rw-r--r--tests/emu/pcu_emu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emu/pcu_emu.cpp b/tests/emu/pcu_emu.cpp
index 3725c8d9..957ddf60 100644
--- a/tests/emu/pcu_emu.cpp
+++ b/tests/emu/pcu_emu.cpp
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
if (!tall_pcu_ctx)
abort();
- msgb_set_talloc_ctx(tall_pcu_ctx);
+ msgb_talloc_ctx_init(tall_pcu_ctx, 0);
osmo_init_logging(&gprs_log_info);
vty_init(&pcu_vty_info);
pcu_vty_init(&gprs_log_info);