From: Kamalesh Babulal Date: Mon, 14 Aug 2023 07:55:35 +0000 (+0530) Subject: tools/lssubsys: fix spellings across the file X-Git-Tag: v3.2.0~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fadd0f8f3bcf63a0d0cc07bb182b14a42d1665;p=thirdparty%2Flibcgroup.git 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 --- 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);