summaryrefslogtreecommitdiffstats
path: root/tests/test_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_functions.c')
-rw-r--r--tests/test_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_functions.c b/tests/test_functions.c
index 6af9efd..80e4e90 100644
--- a/tests/test_functions.c
+++ b/tests/test_functions.c
@@ -321,7 +321,7 @@ void test_cgroup_delete_cgroup(int retcode, struct cgroup *cgrp,
* @param name the name of the controller to be checked
* @param exist set to 1 if the controller exists
*/
-void get_controllers(const char *name, int *exist)
+void is_subsystem_enabled(const char *name, int *exist)
{
int hierarchy, num_cgroups, enabled;
FILE *fd;