summaryrefslogtreecommitdiff
path: root/mysys/mf_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/mf_format.c')
-rw-r--r--mysys/mf_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_format.c b/mysys/mf_format.c
index 216608fdee5..ebe6bfbe1e6 100644
--- a/mysys/mf_format.c
+++ b/mysys/mf_format.c
@@ -99,7 +99,7 @@ my_string fn_format(my_string to, const char *name, const char *dsk,
if (flag & 16)
{
strmov(buff,to);
- my_symlink(to, buff, MYF(flag & 32 ? 0 : MY_RESOLVE_LINK));
+ my_readlink(to, buff, MYF(flag & 32 ? 0 : MY_RESOLVE_LINK));
}
else if (flag & 32)
my_realpath(to, to, MYF(flag & 32 ? 0 : MY_RESOLVE_LINK));