cgfsng: controller_in_clist()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2018-02-17 19:15:17 +01:00
parent f523291e3e
commit bced39de18
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -1012,10 +1012,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)
{