[S] Change in libosmo-abis[master]: e1d: maintain error log consistency in handle_ts_hdlc_read
dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/32338 ) Change subject: e1d: maintain error log consistency in handle_ts_hdlc_read ...................................................................... e1d: maintain error log consistency in handle_ts_hdlc_read The function handle_ts_hdlc_read() should log read errors in the same way as the other functions do Change-Id: I0af06d6adcbf61e0996d9888feb70b74f0c9c0ef --- M src/input/e1d.c 1 file changed, 13 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/38/32338/1 diff --git a/src/input/e1d.c b/src/input/e1d.c index 289e693..56fb5e5 100644 --- a/src/input/e1d.c +++ b/src/input/e1d.c @@ -291,7 +291,7 @@ ret = read(bfd->fd, msg->data, TSX_ALLOC_SIZE); if (ret < 0) { - LOGPITS(e1i_ts, DLINP, LOGL_NOTICE, "read error %d %s\n", ret, strerror(errno)); + LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "%s read error: %d %s\n", __func__, ret, strerror(errno)); msgb_free(msg); return ret; } -- To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/32338 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-abis Gerrit-Branch: master Gerrit-Change-Id: I0af06d6adcbf61e0996d9888feb70b74f0c9c0ef Gerrit-Change-Number: 32338 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
dexter