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:
Robert Watson 2005-09-12 10:05:08 +00:00
parent baabf9536d
commit ba9eeb43fe

View File

@ -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: