summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-08-14 15:05:48 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-08-14 15:05:48 +0000
commit1752f94cf625c48c2004203d135df1778f0a1e5f (patch)
tree89b7c9890055a2e66622847cfe84ec50b31748f6 /config.c
parente8cd34f2439ebb4601c8bda1be51cd94029547c0 (diff)
downloadlibcg-1752f94cf625c48c2004203d135df1778f0a1e5f.tar.gz
libcg-1752f94cf625c48c2004203d135df1778f0a1e5f.tar.xz
libcg-1752f94cf625c48c2004203d135df1778f0a1e5f.zip
Fix configuration assert when multiple controllers are enabled
Since we support multiple controllers, asserting is no longer a good idea. TODO: Support other controllers, memory, cpu and cpuacct (possibly cpusets as well). Well, this code is obsolete and will be replaced by the newer cgroup API. Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@152 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 9ad26ad..b0d4604 100644
--- a/config.c
+++ b/config.c
@@ -196,7 +196,7 @@ int cg_controller_handle_option(struct cg_group *cg_group,
if (!strncmp(cg_controller_name, "cpu", strlen("cpu"))) {
ret = cg_cpu_controller_settings(cg_group, group_path);
} else
- assert(0);
+ printf("config for %s pending\n", cg_controller_name);
return ret;
}