about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/symlink.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/symlink.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/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);