]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
runmodes: spelling
authorVictor Julien <vjulien@oisf.net>
Sat, 6 May 2023 04:59:14 +0000 (06:59 +0200)
committerVictor Julien <vjulien@oisf.net>
Sat, 6 May 2023 12:50:43 +0000 (14:50 +0200)
src/runmode-unittests.c
src/runmodes.c

index af8a7cd8ad4a1e63c931a4eb0f1382f9b8cd4571..d7899a144ec76da4ffe5d3e3af8a42ae0cb1975b 100644 (file)
@@ -263,7 +263,7 @@ void RunUnittests(int list_unittests, const char *regex_arg)
     HostBitInitCtx();
 
     StorageFinalize();
-   /* test and initialize the unittesting subsystem */
+    /* test and initialize the unit testing subsystem */
     if (regex_arg == NULL){
         regex_arg = ".*";
         UtRunSelftest(regex_arg); /* inits and cleans up again */
index 60e68dcd64631d8ddcbb5c723e2981870ef3e50f..5362f4caf684eed176b8c760cbf296b84be27257 100644 (file)
@@ -122,7 +122,7 @@ static TAILQ_HEAD(, OutputFreeList_) output_free_list =
 
 /**
  * \internal
- * \brief Translate a runmode mode to a printale string.
+ * \brief Translate a runmode mode to a printable string.
  *
  * \param runmode Runmode to be converted into a printable string.
  *
@@ -192,8 +192,8 @@ static const char *RunModeTranslateModeToName(int runmode)
  * \brief Dispatcher function for runmodes.  Calls the required runmode function
  *        based on runmode + runmode_custom_id.
  *
- * \param runmode            The runmode type.
- * \param runmode_customd_id The runmode custom id.
+ * \param runmode           The runmode type.
+ * \param runmode_custom_id The runmode custom id.
  */
 static RunMode *RunModeGetCustomMode(enum RunModes runmode, const char *custom_mode)
 {
@@ -382,7 +382,7 @@ static const char *RunModeGetConfOrDefault(int capture_mode, const char *capture
                 return NULL;
         }
     } else {
-        /* Add compability with old 'worker' name */
+        /* Add compatibility with old 'worker' name */
         if (!strcmp("worker", custom_mode)) {
             SCLogWarning("'worker' mode have been renamed "
                          "to 'workers', please modify your setup.");