Change in osmo-iuh[master]: osmo-hnbgw: set a proper talloc ctx for logging

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 6 20:47:48 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13145 )

Change subject: osmo-hnbgw: set a proper talloc ctx for logging
......................................................................

osmo-hnbgw: set a proper talloc ctx for logging

Change-Id: I006103d8d7fb15e2612fff619879940d8405e045
---
M src/hnbgw.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, but someone else must approve
  Max: Looks good to me, approved
  Harald Welte: Looks good to me, approved



diff --git a/src/hnbgw.c b/src/hnbgw.c
index 31498cd..fa655ae 100644
--- a/src/hnbgw.c
+++ b/src/hnbgw.c
@@ -527,7 +527,7 @@
 	g_hnb_gw = hnb_gw_create(tall_hnb_ctx);
 	g_hnb_gw->config.rnc_id = 23;
 
-	rc = osmo_init_logging(&hnbgw_log_info);
+	rc = osmo_init_logging2(tall_hnb_ctx, &hnbgw_log_info);
 	if (rc < 0)
 		exit(1);
 

-- 
To view, visit https://gerrit.osmocom.org/13145
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I006103d8d7fb15e2612fff619879940d8405e045
Gerrit-Change-Number: 13145
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190306/a7db9a90/attachment.html>


More information about the gerrit-log mailing list