chiark / gitweb /
core: move status line ellipsation to 50% of the line
[elogind.git] / src / shared / install.c
index 276ca3ec7a3c26f2f7ffc28f05f0a196cd67d09d..0fe1371129c59a9d169b1a06b4aa0221c9a8f198 100644 (file)
@@ -1061,7 +1061,7 @@ static int unit_file_load(
         assert(path);
 
         if (!isempty(root_dir))
-                path = strappenda3(root_dir, "/", path);
+                path = strappenda(root_dir, "/", path);
 
         fd = open(path, O_RDONLY|O_CLOEXEC|O_NOCTTY|(allow_symlink ? 0 : O_NOFOLLOW));
         if (fd < 0)