]> 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>
Sat, 17 Feb 2018 18:15:52 +0000 (19:15 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c

index aefce12b344bdbf986b7eb89ffdf1ff18e09b791..6bec51928420d3837a02e7a2ab509855d0dfe47a 100644 (file)
@@ -1038,11 +1038,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;