tree-wide: replace strjoin() with path_join()

This commit is contained in:
Yu Watanabe
2019-06-24 23:59:38 +09:00
parent f9421dd847
commit 2d9b74ba87
4 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -980,9 +980,9 @@ int chase_symlinks(const char *path, const char *original_root, unsigned flags,
/* Prefix what's left to do with what we just read, and start the loop again, but
* remain in the current directory. */
joined = strjoin(destination, todo);
joined = path_join(destination, todo);
} else
joined = strjoin("/", destination, todo);
joined = path_join("/", destination, todo);
if (!joined)
return -ENOMEM;