diff options
Diffstat (limited to 'sysdeps/mach/hurd/connect.c')
-rw-r--r-- | sysdeps/mach/hurd/connect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/connect.c b/sysdeps/mach/hurd/connect.c index 1dc4570d4d..193f2c6325 100644 --- a/sysdeps/mach/hurd/connect.c +++ b/sysdeps/mach/hurd/connect.c @@ -29,13 +29,14 @@ and the only address from which to accept transmissions. Return 0 on success, -1 for errors. */ int -__connect (fd, addr, len) +__connect (fd, addrarg, len) int fd; - const struct sockaddr_un *addr; + __CONST_SOCKADDR_ARG addrarg; size_t len; { error_t err; addr_port_t aport; + const struct sockaddr_un *addr = addrarg.__sockaddr_un__; if (addr->sun_family == AF_LOCAL) { |