Max has uploaded this change for review. ( https://gerrit.osmocom.org/11910


Change subject: ctrl: print textual error on IPA parsing failure
......................................................................

ctrl: print textual error on IPA parsing failure

Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
---
M src/ctrl/control_if.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/10/11910/1

diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index ed18a2f..093fb24 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -360,7 +360,7 @@
                 * nothing left to do now. */
                return 0;
        } else if (ret < 0) {
-               LOGP(DLCTRL, LOGL_ERROR, "Failed to parse ip access message: 
%d\n", ret);
+               LOGP(DLCTRL, LOGL_ERROR, "Failed to parse ip access message: 
%s\n", strerror(-ret));
                return 0;
        }


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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
Gerrit-Change-Number: 11910
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>

Reply via email to