aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libcommon/socket.c')
-rw-r--r--openbsc/src/libcommon/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libcommon/socket.c b/openbsc/src/libcommon/socket.c
index ff846aa6..6c47a8d1 100644
--- a/openbsc/src/libcommon/socket.c
+++ b/openbsc/src/libcommon/socket.c
@@ -68,7 +68,7 @@ int make_sock(struct osmo_fd *bfd, int proto,
bfd->priv_nr = priv_nr;
if (bfd->fd < 0) {
- LOGP(DINP, LOGL_ERROR, "could not create socket.\n");
+ LOGP(DLINP, LOGL_ERROR, "could not create socket.\n");
return -EIO;
}
@@ -84,7 +84,7 @@ int make_sock(struct osmo_fd *bfd, int proto,
ret = bind(bfd->fd, (struct sockaddr *) &addr, sizeof(addr));
if (ret < 0) {
- LOGP(DINP, LOGL_ERROR, "could not bind socket %s\n",
+ LOGP(DLINP, LOGL_ERROR, "could not bind socket %s\n",
strerror(errno));
close(bfd->fd);
return -EIO;