From: Balbir Singh Date: Wed, 24 Mar 2010 07:18:45 +0000 (+0530) Subject: Fix typo in wrapper.c (cgroup_get_uid_gid) X-Git-Tag: v0.36~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33fe212d1f132f1d3a5a281cc3d28217fcab318c;p=thirdparty%2Flibcgroup.git 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 Signed-off-by: Balbir Singh Signed-off-by: Dhaval Giani --- diff --git a/src/wrapper.c b/src/wrapper.c index 53d70a9b..99d2a688 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; }