stream_srv: Use LOGSLNK() to print log line

Change-Id: I9aaa63b676b1cd77c7ea500f9bceda989db50db0
This commit is contained in:
Pau Espin 2023-08-04 13:50:47 +02:00
parent 1f7c44a17c
commit f42d4c3bb3
1 changed files with 2 additions and 2 deletions

View File

@ -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;