From 762d8da3a7fe43557cece69f64a7dbd426c22a02 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Tue, 4 Jan 2011 17:56:38 +0100 Subject: [PATCH] [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 --- src/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", }; -- 2.47.2