aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-08-04 13:50:47 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-08-07 19:16:24 +0200
commitf42d4c3bb36034189a55200780d929479ab5e8a8 (patch)
tree392b55a64935bc319207e2aabca89cd98ba911f1
parent1f7c44a17cf2715d895004fb14f26527400170f4 (diff)
stream_srv: Use LOGSLNK() to print log line
-rw-r--r--src/stream_srv.c4
1 files changed, 2 insertions, 2 deletions
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 @@ static int osmo_stream_srv_link_ofd_cb(struct osmo_fd *ofd, unsigned int what)
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;