From: Balbir Singh Date: Wed, 24 Mar 2010 07:17:11 +0000 (+0530) Subject: Fix the typo in our cgroup_get_uid_gid routine X-Git-Tag: v0.36.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21e244c9260931df7d57b80178faca9032452a85;p=thirdparty%2Flibcgroup.git Fix the typo in our cgroup_get_uid_gid routine Reported-by: Ciju Rajan K We seem to have a typo in the function, the fix is quite obvious. Signed-off-by: Balbir Singh --- 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; }