summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-11 18:42:26 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-11 18:42:26 +0200
commita345cf448d1cac7fab79ca4a0a2f647664bdf83e (patch)
tree0957e672a417a02c79b9df3061f010e579e2bbcd /src/tmpfiles
parentd34cd5711df75490a2d8bc34a2937e5ea12d1693 (diff)
downloadsystemd-a345cf448d1cac7fab79ca4a0a2f647664bdf83e.tar.gz
systemd-a345cf448d1cac7fab79ca4a0a2f647664bdf83e.tar.bz2
systemd-a345cf448d1cac7fab79ca4a0a2f647664bdf83e.zip
tmpfiles: use path_join() where it makes sense
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 b968d835a6..90ba32ede0 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -2597,7 +2597,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool
case CREATE_SYMLINK:
if (!i.argument) {
- i.argument = strappend("/usr/share/factory/", i.path);
+ i.argument = path_join("/usr/share/factory/", i.path);
if (!i.argument)
return log_oom();
}