summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/xmknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/xmknod.c')
-rw-r--r--sysdeps/mach/hurd/xmknod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/xmknod.c b/sysdeps/mach/hurd/xmknod.c
index b2386d80ee..3552874bb0 100644
--- a/sysdeps/mach/hurd/xmknod.c
+++ b/sysdeps/mach/hurd/xmknod.c
@@ -102,7 +102,7 @@ __xmknod (int vers, const char *file_name, mode_t mode, dev_t *dev)
if (! err)
/* Link the node, now a valid device, into the target directory. */
- err = __dir_link (dir, node, name);
+ err = __dir_link (dir, node, name, 1);
__mach_port_deallocate (__mach_task_self (), dir);
__mach_port_deallocate (__mach_task_self (), node);