diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-24 23:59:38 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-24 23:59:38 +0900 |
commit | 2d9b74ba87a3fef313f362460d5d9a4283548ff6 (patch) | |
tree | 362629c9252929edebdd172dfd932e8cca339a5f /src/tmpfiles | |
parent | f9421dd847e3a80d3890a1e41833e5bbfcfbcc86 (diff) | |
download | systemd-2d9b74ba87a3fef313f362460d5d9a4283548ff6.tar.gz |
tree-wide: replace strjoin() with path_join()
Diffstat (limited to 'src/tmpfiles')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
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(); |