On Tue, Dec 8, 2009 at 7:03 PM, Jan Safranek <[email protected]> wrote: > ECGROUPVALUENOTEXIST is translated by cgroup_strerr to "Cgroup trying to set > value for control that does not exist". This is wrong, because the error > code is being returned also when *reading* non-existing value, > > > I propose "Cgroup, requested group parameter does not exist". > > BTW, is the "Cgroup," prefix mandatory? >
Nah. As long as it makes sense, you don't need the cgroup prefix. (I think it is more a question of aesthetics.) > Signed-off-by: Jan Safranek <[email protected]> > --- > > src/api.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/api.c b/src/api.c > index 28c0c3d..cfcf507 100644 > --- a/src/api.c > +++ b/src/api.c > @@ -98,7 +98,7 @@ char *cgroup_strerror_codes[] = { > "Cgroup, creation of controller failed", > "Cgroup operation failed", > "Cgroup not initialized", > - "Cgroup trying to set value for control that does not exist", > + "Cgroup, requested group parameter does not exist", > "Cgroup generic error", > "Cgroup values are not equal", > "Cgroup controllers are different", > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel > -- Ted Turner - "Sports is like a war without the killing." - http://www.brainyquote.com/quotes/authors/t/ted_turner.html ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
