chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / gpt-auto-generator / gpt-auto-generator.c
index 909fdda60a15f418b2f2a9a7857bcfe67712a4d9..5c58b58f8a35c3144ba7d59234b48efcb6df7407 100644 (file)
@@ -147,7 +147,7 @@ static int add_cryptsetup(const char *id, const char *what, bool rw, char **devi
         if (ferror(f))
                 return log_error_errno(errno, "Failed to write file %s: %m", p);
 
-        from = strappenda("../", n);
+        from = strjoina("../", n);
 
         to = strjoin(arg_dest, "/", d, ".wants/", n, NULL);
         if (!to)