]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/import-tar.c
tree-wide: replace strjoin() with path_join()
[thirdparty/systemd.git] / src / import / import-tar.c
index 4d0d9254d0125888f11482fa160f9d167b38fd05..f3eff82a2990b735b6237ef11bf44c7f8cd2fb7f 100644 (file)
@@ -211,7 +211,7 @@ static int tar_import_fork_tar(TarImport *i) {
         assert(!i->temp_path);
         assert(i->tar_fd < 0);
 
-        i->final_path = strjoin(i->image_root, "/", i->local);
+        i->final_path = path_join(i->image_root, i->local);
         if (!i->final_path)
                 return log_oom();