about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/bind.c')
-rw-r--r--sysdeps/mach/hurd/bind.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/bind.c b/sysdeps/mach/hurd/bind.c
index 78bc8cc368..393291b94d 100644
--- a/sysdeps/mach/hurd/bind.c
+++ b/sysdeps/mach/hurd/bind.c
@@ -30,13 +30,14 @@
 
 /* Give the socket FD the local address ADDR (which is LEN bytes long).  */
 int
-bind (fd, addr, len)
+bind (fd, addrarg, len)
      int fd;
-     const struct sockaddr_un *addr;
+     __CONST_SOCKADDR_ARG addrarg;
      size_t len;
 {
   addr_port_t aport;
   error_t err;
+  struct sockaddr_un *addr = addrarg.__sockaddr_un__;
 
   if (addr->sun_family == AF_LOCAL)
     {