diff options
Diffstat (limited to 'sysdeps/mach/hurd/mknod.c')
-rw-r--r-- | sysdeps/mach/hurd/mknod.c | 2 |
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); |