aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-litecell15/misc/lc15bts_mgr.c')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_mgr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
index c97525c8..193e1085 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
@@ -222,13 +222,11 @@ static int mgr_log_init(void)
int main(int argc, char **argv)
{
- void *tall_msgb_ctx;
int rc;
tall_mgr_ctx = talloc_named_const(NULL, 1, "bts manager");
- tall_msgb_ctx = talloc_named_const(tall_mgr_ctx, 1, "msgb");
- msgb_set_talloc_ctx(tall_msgb_ctx);
+ msgb_talloc_ctx_init(tall_mgr_ctx);
mgr_log_init();