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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/mkostemp64.c b/libc/stdlib/mkostemp64.c
index c6d6d849d..25595ad96 100644
--- a/libc/stdlib/mkostemp64.c
+++ b/libc/stdlib/mkostemp64.c
@@ -27,5 +27,6 @@
int
mkostemp64 (char *template, int flags)
{
- return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE, S_IRUSR | S_IWUSR | S_IXUSR);
+ return __gen_tempname (template, __GT_BIGFILE, flags | O_LARGEFILE, 0,
+ S_IRUSR | S_IWUSR | S_IXUSR);
}