summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/symlink.c')
-rw-r--r--sysdeps/mach/hurd/symlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/symlink.c b/sysdeps/mach/hurd/symlink.c
index 5e67c4e452..e3937cc88c 100644
--- a/sysdeps/mach/hurd/symlink.c
+++ b/sysdeps/mach/hurd/symlink.c
@@ -55,7 +55,7 @@ DEFUN(__symlink, (from, to), CONST char *from AND CONST char *to)
if (! err)
/* Link the node, now a valid symlink, into the target directory. */
- err = __dir_link (node, dir, name);
+ err = __dir_link (dir, node, name);
__mach_port_deallocate (__mach_task_self (), dir);
__mach_port_deallocate (__mach_task_self (), node);