chiark / gitweb /
util: allow strappenda to take any number of args
[elogind.git] / src / getty-generator / getty-generator.c
index c78a511f94da878cba6e7d53de5dc208b6756474..06ca9b9662cb44cf5be1dfc6a62ac071a41f448a 100644 (file)
@@ -42,7 +42,7 @@ static int add_symlink(const char *fservice, const char *tservice) {
         assert(tservice);
 
         from = strappenda(SYSTEM_DATA_UNIT_PATH "/", fservice);
-        to = strappenda3(arg_dest, "/getty.target.wants/", tservice);
+        to = strappenda(arg_dest, "/getty.target.wants/", tservice);
 
         mkdir_parents_label(to, 0755);