]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tools/cgcreate: fix spellings across the file
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 14 Aug 2023 07:55:35 +0000 (13:25 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Aug 2023 15:26:18 +0000 (09:26 -0600)
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>
src/tools/cgcreate.c

index a873bb4c86d05fbbf6dfddff0eedde27c2a04e92..f5aa7480562ad86e8d1fcf0e5036cb990fa699c6 100644 (file)
@@ -95,7 +95,7 @@ static int create_systemd_scope(struct cgroup * const cg, const char * const pro
                }
 
                /*
-                * the default was successfully set.  override the return of "1" back to
+                * the default was successfully set.  Override the return of "1" back to
                 * the usual "0" on success.
                 */
                ret = 0;
@@ -156,7 +156,7 @@ int main(int argc, char *argv[])
        int i, j;
        int c;
 
-       /* no parametr on input */
+       /* no parameter on input */
        if (argc < 2) {
                usage(1, argv[0]);
                exit(EXIT_BADARGS);
@@ -269,7 +269,7 @@ int main(int argc, char *argv[])
                goto err;
        }
 
-       /* initialize libcg */
+       /* initialize libcgroup */
        ret = cgroup_init();
        if (ret) {
                err("%s: libcgroup initialization failed: %s\n", argv[0], cgroup_strerror(ret));