From: Jan Safranek Date: Tue, 22 Dec 2009 08:16:45 +0000 (+0100) Subject: Fix error text on failed reading of parameter. X-Git-Tag: v0.35~8^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a875ed35ec110a68c02b95762547f1989e2c6fb6;p=thirdparty%2Flibcgroup.git Fix error text on failed reading of parameter. 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". Signed-off-by: Jan Safranek --- diff --git a/src/api.c b/src/api.c index 37b58857..8cb3dcc6 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",