summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/mknod.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/mknod.c
parentefc755b2825063ab0e0928a5c77caac721192ff1 (diff)
Swap args to dir_link.
Diffstat (limited to 'sysdeps/mach/hurd/mknod.c')
-rw-r--r--sysdeps/mach/hurd/mknod.c2
1 files changed, 1 insertions, 1 deletions
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);