pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/33573 )
Change subject: pcuif: Log read() error cause ......................................................................
pcuif: Log read() error cause
Change-Id: Ifdc46a228752452c8d403f2d49f4bac23c450b4d --- M src/osmobts_sock.c 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/73/33573/1
diff --git a/src/osmobts_sock.c b/src/osmobts_sock.c index c4a042f..c77605f 100644 --- a/src/osmobts_sock.c +++ b/src/osmobts_sock.c @@ -138,6 +138,7 @@ if (rc < 0 && errno == EAGAIN) return 0; /* Try again later */ if (rc <= 0) { + LOGP(DL1IF, LOGL_ERROR, "%s: recv() failed with rc=%d errno=%d\n", __func__, rc, errno); pcu_sock_close(1); return -EIO; }