summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2010-03-24 12:48:45 +0530
committerDhaval Giani <dhaval.giani@gmail.com>2010-03-24 12:36:17 +0100
commit33fe212d1f132f1d3a5a281cc3d28217fcab318c (patch)
tree97db47292e1d96406459db2e0bb98b4d18baaba7
parented0881d91408000d6ea5e4f73b49acf2615df9f9 (diff)
downloadlibcg-33fe212d1f132f1d3a5a281cc3d28217fcab318c.tar.gz
libcg-33fe212d1f132f1d3a5a281cc3d28217fcab318c.tar.xz
libcg-33fe212d1f132f1d3a5a281cc3d28217fcab318c.zip
Fix typo in wrapper.c (cgroup_get_uid_gid)
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>
-rw-r--r--src/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapper.c b/src/wrapper.c
index 53d70a9..99d2a68 100644
--- a/src/wrapper.c
+++ b/src/wrapper.c
@@ -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;
}