about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/link.c')
-rw-r--r--sysdeps/mach/hurd/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/link.c b/sysdeps/mach/hurd/link.c
index 11262f5a0f..a4ae21095a 100644
--- a/sysdeps/mach/hurd/link.c
+++ b/sysdeps/mach/hurd/link.c
@@ -45,7 +45,7 @@ DEFUN(__link, (from, to), CONST char *from AND CONST char *to)
   todir = __file_name_split (to, &toname);
   if (todir != MACH_PORT_NULL)
     {
-      err = __dir_link (linknode, todir, toname);
+      err = __dir_link (todir, linknode, toname);
       __mach_port_deallocate (__mach_task_self (), todir);
     }
   __mach_port_deallocate (__mach_task_self (), linknode);