Looking at the current code, this patch was not applied. 'lscgroup cpu:/' fails with lscgroup: cgroup controller and path parsing failed (cpu:/), because wrong string is provided to parse_cgroup_spec()
Could someone apply it? Thanks in advance Jan On 11/18/2009 12:28 PM, Ivana Hutarova Varekova wrote: > Fix a bug in lscgroup which prevent it from reading cgroups frou > output. > > Signed-off-by: Ivana Hutarova Varekova<[email protected]> > --- > > src/tools/lscgroup.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/tools/lscgroup.c b/src/tools/lscgroup.c > index ca846e0..a07134a 100644 > --- a/src/tools/lscgroup.c > +++ b/src/tools/lscgroup.c > @@ -280,7 +280,7 @@ int main(int argc, char *argv[]) > > /* read the list of controllers */ > while (optind< argc) { > - ret = parse_cgroup_spec(cgroup_list, optarg, > + ret = parse_cgroup_spec(cgroup_list, argv[optind], > CG_HIER_MAX); > if (ret) { > fprintf(stderr, "%s: cgroup controller" > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
