mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
ipc: Output the attempted filename in the bind error message.
This commit is contained in:
parent
e620fa9063
commit
8f6b7b930a
|
@ -225,8 +225,9 @@ create_listen_socket(struct ipc_server *s, int *out_fd)
|
||||||
ret = bind(fd, (struct sockaddr *)&addr, sizeof(addr));
|
ret = bind(fd, (struct sockaddr *)&addr, sizeof(addr));
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"ERROR: Could not bind socket: is the "
|
"ERROR: Could not bind socket to path %s: is the "
|
||||||
"service running already?\n");
|
"service running already?\n",
|
||||||
|
IPC_MSG_SOCK_FILE);
|
||||||
#ifdef XRT_HAVE_SYSTEMD
|
#ifdef XRT_HAVE_SYSTEMD
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Or, is the systemd unit monado.socket or "
|
"Or, is the systemd unit monado.socket or "
|
||||||
|
|
Loading…
Reference in a new issue