about summary refs log tree commit diff
path: root/sysdeps/posix/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/mktemp.c')
-rw-r--r--sysdeps/posix/mktemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/mktemp.c b/sysdeps/posix/mktemp.c
index ad5cb1daf5..e9a576c16f 100644
--- a/sysdeps/posix/mktemp.c
+++ b/sysdeps/posix/mktemp.c
@@ -53,7 +53,7 @@ mktemp (template)
 
   /* Get some more or less random data.  */
   __gettimeofday (&tv, NULL);
-  value += ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
+  value += ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ __getpid ();
 
   for (count = 0; count < TMP_MAX; ++count)
     {