summaryrefslogtreecommitdiff
path: root/src/irmd/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/ipcp.c')
-rw-r--r--src/irmd/ipcp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irmd/ipcp.c b/src/irmd/ipcp.c
index 1e8980fb..fdee6a75 100644
--- a/src/irmd/ipcp.c
+++ b/src/irmd/ipcp.c
@@ -94,11 +94,14 @@ ipcp_msg_t * send_recv_ipcp_msg(pid_t pid,
return NULL;
spath = sock_path(pid, IPCP_SOCK_PATH_PREFIX);
- if (spath == NULL)
+ if (spath == NULL) {
+ log_err("Failed to get IPCP socket path for pid %d.", pid);
return NULL;
+ }
sockfd = client_socket_open(spath);
if (sockfd < 0) {
+ log_err("Failed to open client socket at %s.", spath);
free(spath);
return NULL;
}