From ba9eeb43fe8b605e1c2688b987ccee3f4e14328b Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Mon, 12 Sep 2005 10:05:08 +0000 Subject: [PATCH] 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 --- sys/fs/fifofs/fifo_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 36e7478cdab9..f593676cfe0a 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -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: