From: Christian Brauner Date: Sat, 17 Feb 2018 18:15:17 +0000 (+0100) Subject: cgfsng: controller_in_clist() X-Git-Tag: lxc-2.0.10~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75818dac17b7a65df3ecd22d8a1f65a0ca7058c1;p=thirdparty%2Flxc.git cgfsng: controller_in_clist() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 6cd3c6162..fed4831bf 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -1003,10 +1003,8 @@ static char *copy_to_eol(char *p) return sret; } -/* - * cgline: pointer to character after the first ':' in a line in a - * \n-terminated /proc/self/cgroup file. Check whether * controller c is - * present. +/* cgline: pointer to character after the first ':' in a line in a \n-terminated + * /proc/self/cgroup file. Check whether controller c is present. */ static bool controller_in_clist(char *cgline, char *c) {