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
@@ -7329,12 +7329,12 @@ static int get_file_to_edit(
assert(name);
assert(ret_path);
path = strjoin(paths->persistent_config, "/", name);
path = path_join(paths->persistent_config, name);
if (!path)
return log_oom();
if (arg_runtime) {
run = strjoin(paths->runtime_config, "/", name);
run = path_join(paths->runtime_config, name);
if (!run)
return log_oom();
}