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

This commit is contained in:
Yu Watanabe
2019-06-21 03:26:16 +09:00
parent f9dc94408d
commit 657ee2d82b
44 changed files with 90 additions and 119 deletions
+2 -2
View File
@@ -115,11 +115,11 @@ int block_get_originating(dev_t dt, dev_t *ret) {
* setups, however, only if both partitions are on the same physical device. Hence, let's
* verify this. */
u = strjoin(p, "/", de->d_name, "/../dev");
u = path_join(p, de->d_name, "../dev");
if (!u)
return -ENOMEM;
v = strjoin(p, "/", found->d_name, "/../dev");
v = path_join(p, found->d_name, "../dev");
if (!v)
return -ENOMEM;