From 26fadd0f8f3bcf63a0d0cc07bb182b14a42d1665 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Mon, 14 Aug 2023 13:25:35 +0530 Subject: [PATCH] tools/lssubsys: fix spellings across the file Fix the spelling mistakes across the file and also fix word case. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- src/tools/lssubsys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/lssubsys.c b/src/tools/lssubsys.c index c143d175..f8d16a49 100644 --- a/src/tools/lssubsys.c +++ b/src/tools/lssubsys.c @@ -109,7 +109,7 @@ static int print_all_controllers_in_hierarchy(const char *tname, int hierarchy, 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) @@ -165,7 +165,7 @@ static int cgroup_list_all_controllers(const char *tname, cont_name_t cont_name[ 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); -- 2.47.2