aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapper.c b/src/mapper.c
index 4510241dc..6317c2f77 100644
--- a/src/mapper.c
+++ b/src/mapper.c
@@ -109,7 +109,7 @@ map_directory_child_fs(const struct directory *directory, const char *name,
if (parent_fs == NULL)
return NULL;
- utf8_to_fs_charset(buffer, name);
+ name = utf8_to_fs_charset(buffer, name);
pfx_dir(buffer, name, strlen(name),
parent_fs, strlen(parent_fs));
return buffer;