1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Swap args to dir_link.

This commit is contained in:
Miles Bader
1995-10-26 22:19:57 +00:00
parent efc755b282
commit 29370ca488
4 changed files with 4 additions and 4 deletions

View File

@@ -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);