Commit 341fa45e authored by Christoph Haag's avatar Christoph Haag
Browse files

ipc: Print socket filename and errno in error message

parent 885a668a
......@@ -141,7 +141,7 @@ ipc_connect(struct ipc_connection *ipc_c)
ret = connect(socket, (struct sockaddr *)&addr, sizeof(addr));
if (ret < 0) {
IPC_ERROR(ipc_c, "Socket Connect error!");
IPC_ERROR(ipc_c, "Failed to connec to socket %s: %s!", sock_file, strerror(errno));
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment