diff options
Diffstat (limited to 'stdio-common/tempnam.c')
-rw-r--r-- | stdio-common/tempnam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tempnam.c b/stdio-common/tempnam.c index 5d4960f..47ecf6d 100644 --- a/stdio-common/tempnam.c +++ b/stdio-common/tempnam.c @@ -31,7 +31,7 @@ tempnam (const char *dir, const char *pfx) { char buf[FILENAME_MAX]; - if (__path_search (buf, FILENAME_MAX, dir, pfx)) + if (__path_search (buf, FILENAME_MAX, dir, pfx, 1)) return NULL; if (__gen_tempname (buf, 0, 0)) |