summaryrefslogtreecommitdiff
path: root/libc/stdio/tmpnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/tmpnam.c')
-rw-r--r--libc/stdio/tmpnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/tmpnam.c b/libc/stdio/tmpnam.c
index 1f180e08a..323105ba4 100644
--- a/libc/stdio/tmpnam.c
+++ b/libc/stdio/tmpnam.c
@@ -41,7 +41,7 @@ tmpnam (char *s)
0))
return NULL;
- if (__builtin_expect (__gen_tempname (tmpbuf, __GT_NOCREATE), 0))
+ if (__builtin_expect (__gen_tempname (tmpbuf, __GT_NOCREATE, 0), 0))
return NULL;
if (s == NULL)