summaryrefslogtreecommitdiffstats
path: root/src/basic/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/copy.c')
-rw-r--r--src/basic/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/copy.c b/src/basic/copy.c
index eed9cfdff7..36ea7821f2 100644
--- a/src/basic/copy.c
+++ b/src/basic/copy.c
@@ -566,7 +566,7 @@ static int fd_copy_directory(
if (progress_path) {
if (display_path)
- child_display_path = dp = strjoin(display_path, "/", de->d_name);
+ child_display_path = dp = path_join(display_path, de->d_name);
else
child_display_path = de->d_name;