cgfsng: cg_unified_get_current_cgroup()

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

View File

@ -1363,8 +1363,7 @@ static int cg_is_pure_unified(void)
/* Get current cgroup from /proc/self/cgroup for the cgroupfs v2 hierarchy. */
static char *cg_unified_get_current_cgroup(void)
{
char *basecginfo;
char *base_cgroup;
char *basecginfo, *base_cgroup;
bool will_escape;
char *copy = NULL;