]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
samples/c/get_setup_mode.c: fix coding style complaint
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 11 Aug 2023 06:55:04 +0000 (12:25 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 11 Aug 2023 17:37:54 +0000 (11:37 -0600)
Fix the checkpatch.pl warnings, making it coding style complaint.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
samples/c/get_setup_mode.c

index e983f4fe71e87c294818f10fd8a0a6cb175a5d0c..e6e100ac19f22975716b1eac4eff5a2a1bb7e3a5 100644 (file)
@@ -5,7 +5,7 @@
  * Author: Kamalesh Babulal <kamalesh.babulal@oracle.com>
  *
  * Description: This file contains the sample code to demonstrate usage of
- *             cgroup_setup_mode() API.
+ *             cgroup_setup_mode() API.
  */
 
 #include <stdio.h>
@@ -25,7 +25,7 @@ int main(void)
        }
 
        setup_mode = cgroup_setup_mode();
-       switch(setup_mode) {
+       switch (setup_mode) {
        case CGROUP_MODE_LEGACY:
                printf("cgroup mode: Legacy\n");
                break;