diff options
Diffstat (limited to 'ports/unix/guts/mknodat.c')
-rw-r--r-- | ports/unix/guts/mknodat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/guts/mknodat.c b/ports/unix/guts/mknodat.c index 5d8d47c..76e4dd9 100644 --- a/ports/unix/guts/mknodat.c +++ b/ports/unix/guts/mknodat.c @@ -37,6 +37,7 @@ if (rc == -1) { return -1; } + real_fchmod(rc, PSEUDO_FS_MODE(mode, 0)); base_fstat(rc, &buf); /* mknod does not really open the file. We don't have * to use wrap_close because we've never exposed this file |