chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / shared / cgroup-util.c
index 0d3cc53517de07b7ef779ea5c219f7a052cd566d..b527868e6bd1e3802ee680a66b9753826d1be54e 100644 (file)
@@ -510,7 +510,7 @@ static int check_hierarchy(const char *p) {
                 return 0;
 
         /* Check if this controller actually really exists */
-        cc = strappenda("/sys/fs/cgroup/", p);
+        cc = strjoina("/sys/fs/cgroup/", p);
         if (laccess(cc, F_OK) < 0)
                 return -errno;