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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150023

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: