aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/__xmknodat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/__xmknodat.c')
-rw-r--r--ports/linux/guts/__xmknodat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/linux/guts/__xmknodat.c b/ports/linux/guts/__xmknodat.c
index 0888b8a..296918a 100644
--- a/ports/linux/guts/__xmknodat.c
+++ b/ports/linux/guts/__xmknodat.c
@@ -43,6 +43,7 @@
if (rc == -1) {
return -1;
}
+ real_fchmod(rc, PSEUDO_FS_MODE(mode, 0));
real___fxstat64(_STAT_VER, rc, &buf);
/* mknod does not really open the file. We don't have
* to use wrap_close because we've never exposed this file