summaryrefslogtreecommitdiffstats
path: root/sys/fs/fifofs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-09-12 10:05:08 +0000
committerrwatson <rwatson@FreeBSD.org>2005-09-12 10:05:08 +0000
commita079789c36956ae26dca4da7bf77ded89eb7f6e1 (patch)
tree3ba022dec1f0e1c554be293e00ac4df17c0763d8 /sys/fs/fifofs
parent073fb90c599a8c235d2db7a6016cf2eb24c56477 (diff)
downloadFreeBSD-src-a079789c36956ae26dca4da7bf77ded89eb7f6e1.zip
FreeBSD-src-a079789c36956ae26dca4da7bf77ded89eb7f6e1.tar.gz
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
Diffstat (limited to 'sys/fs/fifofs')
-rw-r--r--sys/fs/fifofs/fifo_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c
index 36e7478..f593676 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:
OpenPOWER on IntegriCloud