]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
daemon/cgrulesengd: 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/daemon/cgrulesengd.c

index dc3969000d0a03d42dfedacdfdd25bafdb9535e5..4cc73164b019fda99b5d5b38047c53b2a9fee7d3 100644 (file)
@@ -803,7 +803,7 @@ close_and_exit:
 /**
  * Start logging. Opens syslog and/or log file and sets log level.
  *     @param logp Path of the log file, NULL if no log file was specified
- *     @param logf Syslog facility, NULL if no facility was specified
+ *     @param logf syslog facility, NULL if no facility was specified
  *     @param logv Log verbosity, 1 is the default, 0 = no logging, 4 = everything
  */
 static void cgre_start_log(const char *logp, int logf, int logv)
@@ -869,7 +869,7 @@ static void cgre_start_log(const char *logp, int logf, int logv)
  * parent process.  Note too that stdout, stdin, and stderr are closed in
  * daemon mode, and a file descriptor for a log file is opened.
  *     @param logp Path of the log file, NULL if no log file was specified
- *     @param logf Syslog facility, 0 if no facility was specified
+ *     @param logf syslog facility, 0 if no facility was specified
  *     @param daemon False to turn off daemon mode (no fork, leave FDs open)
  *     @param logv Log verbosity, 1 is the default, 0 = no logging, 5 = everything
  *     @return 0 on success, > 0 on error
@@ -1042,7 +1042,7 @@ int main(int argc, char *argv[])
        /* Patch to the log file */
        const char *logp = NULL;
 
-       /* Syslog facility */
+       /* syslog facility */
        int facility = 0;
 
        /* Verbose level */
@@ -1278,7 +1278,7 @@ int main(int argc, char *argv[])
 
        flog(LOG_INFO, "Started the CGroup Rules Engine Daemon.\n");
 
-       /* We loop endlesly in this function, unless we encounter an error. */
+       /* We loop endlessly in this function, unless we encounter an error. */
        ret =  cgre_create_netlink_socket_process_msg();
 
 finished: