pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/34071 )
(
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: stream_srv: Use LOGSLNK() to print log line ......................................................................
stream_srv: Use LOGSLNK() to print log line
Change-Id: I9aaa63b676b1cd77c7ea500f9bceda989db50db0 --- M src/stream_srv.c 1 file changed, 11 insertions(+), 2 deletions(-)
Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/stream_srv.c b/src/stream_srv.c index 9146028..1ef2cc4 100644 --- a/src/stream_srv.c +++ b/src/stream_srv.c @@ -107,8 +107,8 @@
ret = accept(ofd->fd, &osa.u.sa, &sa_len); if (ret < 0) { - LOGP(DLINP, LOGL_ERROR, "failed to accept from origin peer, reason=`%s'\n", - strerror(errno)); + LOGSLNK(link, LOGL_ERROR, "failed to accept from origin peer, reason=`%s'\n", + strerror(errno)); return ret; } sock_fd = ret;