Subject: Re: Er, can someone tell me how many arguments unp_connect2 is
To: None <current-users@NetBSD.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 09/03/2003 18:08:52
On Wed, 3 Sep 2003, Hisashi T Fujinaka wrote:

> /usr/src/sys/miscfs/portal/portal_vnops.c seems to think two arguments:
>
>     return (unp_connect2(so, so2));
>
> my /usr/src/obj.i386/destdir.i386/usr/include/sys/un.h seems to think
> THREE arguments:
>
> int  unp_connect2 __P((struct socket *, struct socket *, int));

I'm currently guessing that the three argument version is correct, so
there is another problem with sys/kern/uipc_syscalls.c:


if ((error = unp_connect2(wso, rso)) != 0)

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte