summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_tempfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c
index e78cb3ca2ae..c3fccda09bf 100644
--- a/mysys/mf_tempfile.c
+++ b/mysys/mf_tempfile.c
@@ -100,7 +100,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix,
return 1;
}
strmov(to,dir);
- strmov(convert_dirname(to),prefix);
+ strmov(convert_dirname(to),prefix_buff);
file=mkstemp(to);
}
#elif defined(HAVE_TEMPNAM)