]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
Fix the typo in our cgroup_get_uid_gid routine
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Wed, 24 Mar 2010 07:17:11 +0000 (12:47 +0530)
committerBalbir Singh <balbir@linux.vnet.ibm.com>
Wed, 24 Mar 2010 07:17:11 +0000 (12:47 +0530)
Reported-by: Ciju Rajan K <ciju@linux.vnet.ibm.com>
We seem to have a typo in the function, the fix is quite obvious.

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
src/wrapper.c

index 53d70a9bf46269890c83e84620e17bac17c06c9f..99d2a68868d4522d7ece813ba39b0a054c7884e4 100644 (file)
@@ -333,7 +333,7 @@ int cgroup_get_uid_gid(struct cgroup *cgroup, uid_t *tasks_uid,
        *tasks_uid = cgroup->tasks_uid;
        *tasks_gid = cgroup->tasks_gid;
        *control_uid = cgroup->control_uid;
-       *control_gid = cgroup->control_uid;
+       *control_gid = cgroup->control_gid;
 
        return 0;
 }