about summary refs log tree commit diff
path: root/stdio-common/tmpfile64.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tmpfile64.c')
-rw-r--r--stdio-common/tmpfile64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tmpfile64.c b/stdio-common/tmpfile64.c
index 0f3a0044a4..2ea6bfc3a8 100644
--- a/stdio-common/tmpfile64.c
+++ b/stdio-common/tmpfile64.c
@@ -35,7 +35,7 @@ tmpfile64 ()
   int fd;
   FILE *f;
 
-  if (__path_search (buf, FILENAME_MAX, NULL, "tmpf"))
+  if (__path_search (buf, FILENAME_MAX, NULL, "tmpf", 0))
     return NULL;
   fd = __gen_tempname (buf, 1, 1);
   if (fd < 0)