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