summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/compat.c b/libglusterfs/src/compat.c
index 2197272d9..ef62f5b36 100644
--- a/libglusterfs/src/compat.c
+++ b/libglusterfs/src/compat.c
@@ -535,7 +535,7 @@ mkdtemp (char *tempstring)
char *new_string = NULL;
int ret = 0;
- new_string = mktemp (tempstring);
+ new_string = mkstemp (tempstring);
if (!new_string)
goto out;