about summary refs log tree commit diff
path: root/nptl/sem_open.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-01-15 14:36:09 +0100
committerAndreas Schwab <schwab@suse.de>2013-01-16 15:57:11 +0100
commitcfa8054fbb6212e64d54a3d4926972a6a20e3498 (patch)
treeb5412874124a4ee94b998480a919ae901d2db896 /nptl/sem_open.c
parentf93a8d15699ee699282465dc1e03e033f3fabb52 (diff)
downloadglibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar.gz
glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.tar.xz
glibc-cfa8054fbb6212e64d54a3d4926972a6a20e3498.zip
Hide reference to mktemp in libpthread
Diffstat (limited to 'nptl/sem_open.c')
-rw-r--r--nptl/sem_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sem_open.c b/nptl/sem_open.c
index 5bc56c5bd9..83b2fdf472 100644
--- a/nptl/sem_open.c
+++ b/nptl/sem_open.c
@@ -329,7 +329,7 @@ sem_open (const char *name, int oflag, ...)
 	     since the file must be opened with a specific mode.  The
 	     mode cannot later be set since then we cannot apply the
 	     file create mask.  */
-	  if (mktemp (tmpfname) == NULL)
+	  if (__mktemp (tmpfname) == NULL)
 	    return SEM_FAILED;
 
 	  /* Open the file.  Make sure we do not overwrite anything.  */