]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
error.h: fix grammar in enum descriptions
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 20 Mar 2026 09:52:09 +0000 (15:22 +0530)
committerTom Hromatka (Oracle) <tom.hromatka@gmail.com>
Wed, 22 Apr 2026 21:09:28 +0000 (15:09 -0600)
Fix minor grammar issues in comments:
- Error enum descriptions
- ECGEOF description

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka (Oracle) <tom.hromatka@gmail.com>
include/libcgroup/error.h

index 6a1420dbec8d535f569f5749503ae8cdd9e589c4..fe7f01c2e552ad591fd3a6b861b1fd2e4cba7001 100644 (file)
@@ -20,7 +20,7 @@ extern "C" {
  *
  * @name Error handling
  * @{
- * Unless states otherwise in documentation of a function, all functions
+ * Unless stated otherwise in a function's documentation, all functions
  * return @c int, which is zero (0) when the function succeeds, and positive
  * number if the function fails.
  *
@@ -62,7 +62,7 @@ enum {
        ECGROUPNORULES,                 /* 50020 */
        ECGMOUNTFAIL,                   /* 50021 */
        /**
-        * Not an real error, it just indicates that iterator has come to end
+        * Not a real error, it just indicates that the iterator has come to the end
         * of sequence and no more items are left.
         */
        ECGEOF = 50023,