summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-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 2197272d97f..ef62f5b362b 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;