summaryrefslogtreecommitdiff
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-11 18:41:14 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-11 18:41:14 +0200
commitd34cd5711df75490a2d8bc34a2937e5ea12d1693 (patch)
treeb132a3f6f2060e53c4ded40f073b37560be08604 /src/tmpfiles
parent0772b11cc8d01be6d24e0bc38973f2833775b41f (diff)
downloadsystemd-d34cd5711df75490a2d8bc34a2937e5ea12d1693.tar.gz
systemd-d34cd5711df75490a2d8bc34a2937e5ea12d1693.tar.bz2
systemd-d34cd5711df75490a2d8bc34a2937e5ea12d1693.zip
tmpfiles: fix build
After I merged #12750 we don't build anymore, since the merged PR (which passed CI) uses prefix_root() which doesn't exist anymore. Let's fix that.
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 02eecf3e3a..b968d835a6 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -2625,7 +2625,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool
} else if (arg_root) {
char *p;
- p = prefix_root(arg_root, i.argument);
+ p = path_join(arg_root, i.argument);
if (!p)
return log_oom();
free_and_replace(i.argument, p);