summaryrefslogtreecommitdiff
path: root/mysys/mf_format.c
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-06-01 16:07:14 -0600
committerunknown <sasha@mysql.sashanet.com>2001-06-01 16:07:14 -0600
commitdc1104c1ff7d1633753288b0ee74c22f0172bebe (patch)
treef7a7b99ed76af1593b44fa3f7d7e44610da9f70a /mysys/mf_format.c
parent3be9c739c11cd868ec05b73b12ddd2595f7d84c9 (diff)
downloadmariadb-git-dc1104c1ff7d1633753288b0ee74c22f0172bebe.tar.gz
fixed new bug in fn_format()
mysys/mf_format.c: fixed a typo bug
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));