about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bind.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-26 22:19:57 +0000
committerMiles Bader <miles@gnu.org>1995-10-26 22:19:57 +0000
commit29370ca4881a554df22ed09a2347426f26e6d196 (patch)
tree0c72ad9d89316948713c10fcd7ac1bd66d7b6e59 /sysdeps/mach/hurd/bind.c
parentefc755b2825063ab0e0928a5c77caac721192ff1 (diff)
downloadglibc-29370ca4881a554df22ed09a2347426f26e6d196.tar.gz
glibc-29370ca4881a554df22ed09a2347426f26e6d196.tar.xz
glibc-29370ca4881a554df22ed09a2347426f26e6d196.zip
Swap args to dir_link.
Diffstat (limited to 'sysdeps/mach/hurd/bind.c')
-rw-r--r--sysdeps/mach/hurd/bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bind.c b/sysdeps/mach/hurd/bind.c
index 907f445751..5b041f3558 100644
--- a/sysdeps/mach/hurd/bind.c
+++ b/sysdeps/mach/hurd/bind.c
@@ -64,7 +64,7 @@ DEFUN(bind, (fd, addr, len),
 				       MACH_MSG_TYPE_COPY_SEND);
 	  if (! err)
 	    /* Link the node, now a socket, into the target directory.  */
-	    err = __dir_link (node, dir, n);
+	    err = __dir_link (dir, node, n);
 	  __mach_port_deallocate (__mach_task_self (), node);
 	  if (! err)
 	    {