diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-17 15:18:52 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-17 15:18:52 +0200 |
commit | f7fa89275d0aaedd929811c38c21c157c42631d1 (patch) | |
tree | 362b1b9b82295e3645a5134cdfc64928554d09eb /tests/bsc-nat/bsc_nat_test.c | |
parent | 1f4851e7037d488d22991715094b3bcb26cf6886 (diff) |
use osmo_init_logging2
Change-Id: Ifbbfede185aec6573fe7d8bcb49dc5be9f7e7d0b
Diffstat (limited to 'tests/bsc-nat/bsc_nat_test.c')
-rw-r--r-- | tests/bsc-nat/bsc_nat_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/bsc-nat/bsc_nat_test.c b/tests/bsc-nat/bsc_nat_test.c index bb287ec4c..7aa39ece7 100644 --- a/tests/bsc-nat/bsc_nat_test.c +++ b/tests/bsc-nat/bsc_nat_test.c @@ -1559,9 +1559,10 @@ static const struct log_info log_info = { int main(int argc, char **argv) { - msgb_talloc_ctx_init(NULL, 0); + void *tall_ctx = talloc_named_const(NULL, 1, "bsc_nat_test"); + msgb_talloc_ctx_init(tall_ctx, 0); sccp_set_log_area(DLSCCP); - osmo_init_logging(&log_info); + osmo_init_logging2(tall_ctx, &log_info); test_filter(); test_contrack(); |