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