diff options
author | Max <msuraev@sysmocom.de> | 2018-11-23 16:50:50 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-11-26 10:15:02 +0100 |
commit | a66de71f8e8614cff7edc85fe979420716e5672c (patch) | |
tree | af2310266b84b4df754ae050d16eff25673dc939 /src/ctrl | |
parent | 7ab5fc1f3b373fadc644448442b985c12597f8f0 (diff) |
ctrl: print textual error on IPA parsing failure
Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
Diffstat (limited to 'src/ctrl')
-rw-r--r-- | src/ctrl/control_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index ed18a2fc..1121d07f 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -360,7 +360,7 @@ static int handle_control_read(struct osmo_fd * bfd) * 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: %d (%s)\n", ret, strerror(-ret)); return 0; } |