]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgfsng: cg_hybrid_get_current_cgroup()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 17 Feb 2018 18:15:52 +0000 (19:15 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 21 Feb 2018 14:48:27 +0000 (15:48 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index fed4831bf43a22a70c2628104d1367ce72a609c2..75530894a29d94e8b3737485c2558194ee72ac01 100644 (file)
@@ -1029,11 +1029,11 @@ static bool controller_in_clist(char *cgline, char *c)
        return false;
 }
 
-/*
- * @basecginfo is a copy of /proc/$$/cgroup.  Return the current
- * cgroup for @controller
+/* @basecginfo is a copy of /proc/$$/cgroup. Return the current cgroup for
+ * @controller.
  */
-static char *cg_hybrid_get_current_cgroup(char *basecginfo, char *controller, int type)
+static char *cg_hybrid_get_current_cgroup(char *basecginfo, char *controller,
+                                         int type)
 {
        char *p = basecginfo;