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
+1 -1
View File
@@ -2471,7 +2471,7 @@ static int patch_var_run(const char *fname, unsigned line, char **path) {
if (isempty(k)) /* Don't complain about other paths than /var/run, and not about /var/run itself either. */
return 0;
n = strjoin("/run/", k);
n = path_join("/run", k);
if (!n)
return log_oom();