summaryrefslogtreecommitdiff
path: root/libc/stdio/tempnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/tempnam.c')
-rw-r--r--libc/stdio/tempnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/tempnam.c b/libc/stdio/tempnam.c
index a11f82b5d..d626dc0f8 100644
--- a/libc/stdio/tempnam.c
+++ b/libc/stdio/tempnam.c
@@ -38,6 +38,6 @@ tempnam (const char *dir, const char *pfx)
if (__gen_tempname (buf, __GT_NOCREATE))
return NULL;
- return strdup (buf);
+ return __strdup (buf);
}