chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / shared / condition.c
index 4faca2b8dceb232b4098492345a541fcb6d86f37..da7560f05fb616f2176f7c2a389bb61b8a2591e1 100644 (file)
@@ -288,7 +288,7 @@ static int condition_test_needs_update(Condition *c) {
         if (!path_is_absolute(c->parameter))
                 return true;
 
-        p = strappenda(c->parameter, "/.updated");
+        p = strjoina(c->parameter, "/.updated");
         if (lstat(p, &other) < 0)
                 return true;