chiark / gitweb /
util: rework strappenda(), and rename it strjoina()
[elogind.git] / src / shared / cgroup-show.c
index ea66c7672486522b6e3d98351a9d45cb9cc8c9c4..cbd94e86d9166068e2dc657e7ed94c2f1f0b429c 100644 (file)
@@ -93,7 +93,7 @@ static int show_cgroup_one_by_path(const char *path, const char *prefix, unsigne
         if (r < 0)
                 return r;
 
-        fn = strappenda(p, "/cgroup.procs");
+        fn = strjoina(p, "/cgroup.procs");
         f = fopen(fn, "re");
         if (!f)
                 return -errno;