about summary refs log tree commit diff
path: root/libio/oldtmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/oldtmpfile.c')
-rw-r--r--libio/oldtmpfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/oldtmpfile.c b/libio/oldtmpfile.c
index 6c4275d00c..72437fea0f 100644
--- a/libio/oldtmpfile.c
+++ b/libio/oldtmpfile.c
@@ -32,7 +32,7 @@ __old_tmpfile (void)
   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, 0);
   if (fd < 0)