]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
[PATCH 1/3] API: fix mount/namespace error message
authorJiri Slaby <jslaby@suse.cz>
Tue, 4 Jan 2011 16:56:38 +0000 (17:56 +0100)
committerBalbir Singh <balbir@linux.vnet.ibm.com>
Wed, 5 Jan 2011 15:32:41 +0000 (21:02 +0530)
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 <jslaby@suse.cz>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
src/api.c

index 5ce6cf22d3d1ee37adeb20b7f07cf696466c0c4e..b76b79321242b22495715b47be841ded4243acdd 100644 (file)
--- 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",
 };