diff --git a/src/util/cgroup.c b/src/util/cgroup.c index de1fd8e24b..47c4633067 100644 --- a/src/util/cgroup.c +++ b/src/util/cgroup.c @@ -505,6 +505,9 @@ static int virCgroupMakeGroup(virCgroupPtr parent, virCgroupPtr group, rc = virCgroupPathOfController(group, i, "", &path); if (rc < 0) return rc; + /* As of Feb 2011, clang can't see that the above function + * call did not modify group. */ + sa_assert(group->controllers[i].mountPoint); VIR_DEBUG("Make controller %s", path); if (access(path, F_OK) != 0) {