diff options
author | Miles Bader <miles@gnu.org> | 1995-10-26 22:19:57 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-26 22:19:57 +0000 |
commit | 29370ca4881a554df22ed09a2347426f26e6d196 (patch) | |
tree | 0c72ad9d89316948713c10fcd7ac1bd66d7b6e59 /sysdeps | |
parent | efc755b2825063ab0e0928a5c77caac721192ff1 (diff) | |
download | glibc-29370ca4881a554df22ed09a2347426f26e6d196.tar.gz glibc-29370ca4881a554df22ed09a2347426f26e6d196.tar.xz glibc-29370ca4881a554df22ed09a2347426f26e6d196.zip |
Swap args to dir_link.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/bind.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/link.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/mknod.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/symlink.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/bind.c b/sysdeps/mach/hurd/bind.c index 907f445751..5b041f3558 100644 --- a/sysdeps/mach/hurd/bind.c +++ b/sysdeps/mach/hurd/bind.c @@ -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) { 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); diff --git a/sysdeps/mach/hurd/mknod.c b/sysdeps/mach/hurd/mknod.c index cf1b4d021e..cd8b7375a4 100644 --- a/sysdeps/mach/hurd/mknod.c +++ b/sysdeps/mach/hurd/mknod.c @@ -101,7 +101,7 @@ DEFUN(__mknod, (file_name, mode, dev), if (! err) /* Link the node, now a valid device, 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); 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); |