]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: fix build
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Jul 2019 16:41:14 +0000 (18:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Jul 2019 16:41:14 +0000 (18:41 +0200)
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.

src/tmpfiles/tmpfiles.c

index 02eecf3e3af0e8339a189e7de211cc602769376e..b968d835a675cf9920b426bc6f04e002f8a5b780 100644 (file)
@@ -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);