From: Jiri Slaby Date: Tue, 4 Jan 2011 16:56:38 +0000 (+0100) Subject: [PATCH 1/3] API: fix mount/namespace error message X-Git-Tag: v0.37.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762d8da3a7fe43557cece69f64a7dbd426c22a02;p=thirdparty%2Flibcgroup.git [PATCH 1/3] API: fix mount/namespace error message When one passes no input to the parser, it spits out: Cannot have mount and namespace keyword in the same configuration file It's wrong, because we have none of them. So change it to: Either mount or namespace keyword has to be specified in the configuration file Signed-off-by: Jiri Slaby Signed-off-by: Balbir Singh --- diff --git a/src/api.c b/src/api.c index 5ce6cf22..b76b7932 100644 --- a/src/api.c +++ b/src/api.c @@ -115,7 +115,7 @@ const char const *cgroup_strerror_codes[] = { "Failed to parse config file", "Have multiple paths for the same namespace", "Controller in namespace does not exist", - "Cannot have mount and namespace keyword in the same configuration file", + "Either mount or namespace keyword has to be specified in the configuration file", "This kernel does not support this feature", "Value setting does not succeed", };