aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sms
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sms')
-rw-r--r--tests/sms/sms_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sms/sms_test.c b/tests/sms/sms_test.c
index efbdf7ec..06153964 100644
--- a/tests/sms/sms_test.c
+++ b/tests/sms/sms_test.c
@@ -282,9 +282,10 @@ int main(int argc, char** argv)
uint8_t septet_data[256];
int nchars;
char result[256];
+ void *ctx = talloc_named_const(NULL, 0, "sms_test");
/* Fake logging. */
- osmo_init_logging(&fake_log_info);
+ osmo_init_logging2(ctx, &fake_log_info);
/* test 7-bit encoding */
for (i = 0; i < ARRAY_SIZE(test_encode); ++i) {