cosmetic: print textual error from recv()

Change-Id: Ic9557c6519b44b5985daf7d2d14ec063790441fb
This commit is contained in:
Max 2017-10-13 18:24:37 +02:00
parent a2b50809c7
commit 1bfbf98f06
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ int osmo_dgram_rx_recv(struct osmo_dgram_rx *conn,
ret = recv(conn->ofd.fd, msg->data, msg->data_len, 0);
if (ret < 0) {
LOGP(DLINP, LOGL_ERROR, "error receiving data from tx\n");
LOGP(DLINP, LOGL_ERROR, "error receiving data from tx: %s\n", strerror(errno));
return ret;
}
msgb_put(msg, ret);