Rather than reaching into the internals of the UNIX domain socket code
by calling uipc_connect2() to connect two socket endpoints to create a fifo, call soconnect2(). MFC after: 3 days
This commit is contained in:
parent
baabf9536d
commit
ba9eeb43fe
@ -182,7 +182,7 @@ fifo_open(ap)
|
||||
if (error)
|
||||
goto fail2;
|
||||
fip->fi_writesock = wso;
|
||||
error = uipc_connect2(wso, rso);
|
||||
error = soconnect2(wso, rso);
|
||||
if (error) {
|
||||
(void)soclose(wso);
|
||||
fail2:
|
||||
|
Loading…
Reference in New Issue
Block a user