mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Swap args to dir_link.
This commit is contained in:
@@ -64,7 +64,7 @@ DEFUN(bind, (fd, addr, len),
|
||||
MACH_MSG_TYPE_COPY_SEND);
|
||||
if (! err)
|
||||
/* Link the node, now a socket, into the target directory. */
|
||||
err = __dir_link (node, dir, n);
|
||||
err = __dir_link (dir, node, n);
|
||||
__mach_port_deallocate (__mach_task_self (), node);
|
||||
if (! err)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user