aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ms/MsTest.cpp
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-08 17:07:31 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-08 17:37:55 +0100
commit78ce59137fa0bd0e6b11bfc9ea24c93e6b2a8d2a (patch)
treedb92794a0560d381439cb891f80e246a469e48db /tests/ms/MsTest.cpp
parentde9da39b336e2b8e05efb59ecabf666f85f39a16 (diff)
main, tests: use msgb_talloc_ctx_init() (new)
msgb_set_talloc_ctx() is deprecated since libosmocore commit f45334be29016a36594aacc07c90e262e4994525 / change-id I747fbbf977c4d2c868c8dead64cfc5fd86eb8d4c Change-Id: I8d40abec428b739460ed545c9983d1b63021bd08
Diffstat (limited to 'tests/ms/MsTest.cpp')
-rw-r--r--tests/ms/MsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ms/MsTest.cpp b/tests/ms/MsTest.cpp
index 0930354d..d66f578e 100644
--- a/tests/ms/MsTest.cpp
+++ b/tests/ms/MsTest.cpp
@@ -538,7 +538,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(&debug_log_info);
log_set_use_color(osmo_stderr_target, 0);
log_set_print_filename(osmo_stderr_target, 0);