Skip to content
Snippets Groups Projects
Commit bf95ca2f authored by David Bigagli's avatar David Bigagli
Browse files

Fix compilation error.

parent 3089921a
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ int pmixp_usock_create_srv(char *path)
memset(&sa, 0, sizeof(sa));
sa.sun_family = AF_UNIX;
strcpy(sa.sun_path, path);
if (ret = bind(fd, (struct sockaddr *)&sa, SUN_LEN(&sa))) {
if ((ret = bind(fd, (struct sockaddr *)&sa, SUN_LEN(&sa)))) {
PMIXP_ERROR_STD("Cannot bind() UNIX socket %s", path);
goto err_fd;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment