From: Kamalesh Babulal Date: Fri, 11 Aug 2023 06:55:04 +0000 (+0530) Subject: tools/cgget: fix coding style complaint X-Git-Tag: v3.2.0~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215fc61d33c8840dd9471dce1d6e6b052470f549;p=thirdparty%2Flibcgroup.git tools/cgget: fix coding style complaint Fix the checkpatch.pl warnings, making it coding style complaint. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/src/tools/cgget.c b/src/tools/cgget.c index 07f1fb2d..80f113bd 100644 --- a/src/tools/cgget.c +++ b/src/tools/cgget.c @@ -839,7 +839,7 @@ static int find_cgroup_mount_type(void) int ret = 0; setup_mode = cgroup_setup_mode(); - switch(setup_mode) { + switch (setup_mode) { case CGROUP_MODE_LEGACY: info("Legacy Mode (Cgroup v1 only).\n"); break; @@ -866,7 +866,7 @@ static int print_controller_version(void) int ret = 0; /* perf_event controller is the one with the lengthiest name */ - info("%-11s\t%-7s\n", "#Controller","Version"); + info("%-11s\t%-7s\n", "#Controller", "Version"); ret = cgroup_get_controller_begin(&handle, &controller); while (ret == 0) { ret = cgroup_get_controller_version(controller.name, &version);