Fix the spelling mistakes across the file and also fix word case.
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
goto end;
/*
- * v1 controllers should be in the hierachy.
+ * v1 controllers should be in the hierarchy.
* v2 controllers will have a hierarchy value of zero
*/
if (version == CGROUP_V1 && info.hierarchy != hierarchy)
ret = cgroup_get_all_controller_begin(&handle, &info);
while (ret == 0) {
if (info.hierarchy == 0) {
- /* the controller is not attached to any hierachy */
+ /* the controller is not attached to any hierarchy */
if (flags & FL_ALL) {
/* display only if -a flag is set */
info("%s\n", info.name);