summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-06-24 23:59:38 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-24 23:59:38 +0900
commit2d9b74ba87a3fef313f362460d5d9a4283548ff6 (patch)
tree362629c9252929edebdd172dfd932e8cca339a5f /src/tmpfiles
parentf9421dd847e3a80d3890a1e41833e5bbfcfbcc86 (diff)
downloadsystemd-2d9b74ba87a3fef313f362460d5d9a4283548ff6.tar.gz
tree-wide: replace strjoin() with path_join()
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 334e3fb5f4..7b091006ea 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -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();