]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
Fix typo in wrapper.c (cgroup_get_uid_gid)
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Wed, 24 Mar 2010 07:18:45 +0000 (12:48 +0530)
committerDhaval Giani <dhaval.giani@gmail.com>
Wed, 24 Mar 2010 11:36:17 +0000 (12:36 +0100)
Fix the typo in our cgroup_get_uid_gid routine
We seem to have a typo in the function, the fix is quite obvious.

Reported-by: Ciju Rajan K <ciju@linux.vnet.ibm.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval.giani@gmail.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;
 }