summaryrefslogtreecommitdiff
path: root/libc/stdlib/mkostemp64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/mkostemp64.c')
-rw-r--r--libc/stdlib/mkostemp64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/mkostemp64.c b/libc/stdlib/mkostemp64.c
index d21def58a..c6d6d849d 100644
--- a/libc/stdlib/mkostemp64.c
+++ b/libc/stdlib/mkostemp64.c
@@ -27,5 +27,5 @@
int
mkostemp64 (char *template, int flags)
{
- return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE);
+ return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE, S_IRUSR | S_IWUSR | S_IXUSR);
}