about summary refs log tree commit diff
path: root/stdio-common/tmpnam_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tmpnam_r.c')
-rw-r--r--stdio-common/tmpnam_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tmpnam_r.c b/stdio-common/tmpnam_r.c
index 07c4650cc0..26214ecf2b 100644
--- a/stdio-common/tmpnam_r.c
+++ b/stdio-common/tmpnam_r.c
@@ -26,7 +26,7 @@ tmpnam_r (char *s)
   if (s == NULL)
     return NULL;
 
-  if (__path_search (s, L_tmpnam, NULL, NULL))
+  if (__path_search (s, L_tmpnam, NULL, NULL, 0))
     return NULL;
   if (__gen_tempname (s, 0, 0))
     return NULL;