diff --git a/src/cgroups.c b/src/cgroups.c
index a28f4e94d28ecaca3ed10e289b1293f023412b9b..17b12d0435150189bba3fe15ab9a6fd66d57be76 100644 (file)
--- a/src/cgroups.c
+++ b/src/cgroups.c
{
/* Find the cgroup mountpoint which contains the cpuacct
* controller. */
- if (strcmp(mnt_ptr->type, "cgroup") != 0 ||
- !cu_mount_getoptionvalue(mnt_ptr->options, "cpuacct"))
+ if ((strcmp(mnt_ptr->type, "cgroup") != 0)
+ || !cu_mount_checkoption(mnt_ptr->options,
+ "cpuacct", /* full = */ 1))
continue;
walk_directory (mnt_ptr->dir, read_cpuacct_root,