]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
common: spelling
authorVictor Julien <vjulien@oisf.net>
Sat, 6 May 2023 05:22:21 +0000 (07:22 +0200)
committerVictor Julien <vjulien@oisf.net>
Sat, 6 May 2023 15:38:55 +0000 (17:38 +0200)
src/suricata-common.h
src/suricata.c
src/suricata.h

index a0912c2ce5a44c806d0843f7750357ff5c8c4083..47d578f72780d9dbfa05ff945fab6e02d90002ee 100644 (file)
@@ -451,7 +451,7 @@ typedef enum PacketProfileDetectId_ {
     PROF_DETECT_SIZE,
 } PacketProfileDetectId;
 
-/** \note update PacketProfileLoggertIdToString if you change anything here */
+/** \note update PacketProfileLoggerIdToString if you change anything here */
 typedef enum {
     LOGGER_UNDEFINED,
 
index d6903955f412d4fabf1753a9b664ca274e9bb030..e65426d47ba5276d8e3998b5d4be17742139bbc9 100644 (file)
@@ -158,7 +158,7 @@ volatile sig_atomic_t sigusr2_count = 0;
  */
 SC_ATOMIC_DECLARE(unsigned int, engine_stage);
 
-/* Max packets processed simultaniously per thread. */
+/* Max packets processed simultaneously per thread. */
 #define DEFAULT_MAX_PENDING_PACKETS 1024
 
 /** suricata engine control flags */
@@ -186,7 +186,7 @@ int sc_set_caps = FALSE;
 
 bool g_system = false;
 
-/** disable randomness to get reproducible results accross runs */
+/** disable randomness to get reproducible results across runs */
 #ifndef AFLFUZZ_NO_RANDOM
 int g_disable_randomness = 0;
 #else
@@ -1755,7 +1755,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, SCInstance *suri)
                 }
                 if (ConfigCheckDataDirectory(optarg) != TM_ECODE_OK) {
                     SCLogError("The data directory \"%s\""
-                               " supplied at the commandline (-d %s) doesn't "
+                               " supplied at the command-line (-d %s) doesn't "
                                "exist. Shutting down the engine.",
                             optarg, optarg);
                     return TM_ECODE_FAILED;
@@ -1879,14 +1879,14 @@ static TmEcode ParseCommandLine(int argc, char** argv, SCInstance *suri)
             }
             if (ConfigCheckLogDirectoryExists(optarg) != TM_ECODE_OK) {
                 SCLogError("The logging directory \"%s\""
-                           " supplied at the commandline (-l %s) doesn't "
+                           " supplied at the command-line (-l %s) doesn't "
                            "exist. Shutting down the engine.",
                         optarg, optarg);
                 return TM_ECODE_FAILED;
             }
             if (!IsLogDirectoryWritable(optarg)) {
                 SCLogError("The logging directory \"%s\""
-                           " supplied at the commandline (-l %s) is not "
+                           " supplied at the command-line (-l %s) is not "
                            "writable. Shutting down the engine.",
                         optarg, optarg);
                 return TM_ECODE_FAILED;
@@ -2042,7 +2042,7 @@ static TmEcode ParseCommandLine(int argc, char** argv, SCInstance *suri)
         return TM_ECODE_FAILED;
     }
 
-    /* save the runmode from the commandline (if any) */
+    /* save the runmode from the command-line (if any) */
     suri->aux_run_mode = suri->run_mode;
 
     if (list_app_layer_protocols)
@@ -2344,19 +2344,19 @@ static int StartInternalRunMode(SCInstance *suri, int argc, char **argv)
             if (SCServiceInstall(argc, argv)) {
                 return TM_ECODE_FAILED;
             }
-            SCLogInfo("Suricata service has been successfuly installed.");
+            SCLogInfo("Suricata service has been successfully installed.");
             return TM_ECODE_DONE;
         case RUNMODE_REMOVE_SERVICE:
             if (SCServiceRemove(argc, argv)) {
                 return TM_ECODE_FAILED;
             }
-            SCLogInfo("Suricata service has been successfuly removed.");
+            SCLogInfo("Suricata service has been successfully removed.");
             return TM_ECODE_DONE;
         case RUNMODE_CHANGE_SERVICE_PARAMS:
             if (SCServiceChangeParams(argc, argv)) {
                 return TM_ECODE_FAILED;
             }
-            SCLogInfo("Suricata service startup parameters has been successfuly changed.");
+            SCLogInfo("Suricata service startup parameters has been successfully changed.");
             return TM_ECODE_DONE;
 #endif /* OS_WIN32 */
         default:
@@ -2767,7 +2767,7 @@ int PostConfLoadedSetup(SCInstance *suri)
     if (InitSignalHandler(suri) != TM_ECODE_OK)
         SCReturnInt(TM_ECODE_FAILED);
 
-    /* Check for the existance of the default logging directory which we pick
+    /* Check for the existence of the default logging directory which we pick
      * from suricata.yaml.  If not found, shut the engine down */
     suri->log_dir = ConfigGetLogDirectory();
 
index 64805476fef2988412cccf23a52de073ba7b268f..881466f379a61282223220b7322d1e7f6d2e6c79 100644 (file)
@@ -26,7 +26,7 @@
  *
  * \section dev_doc Developer documentation
  *
- * You've reach the automically generated documentation of Suricata. This
+ * You've reach the automatically generated documentation of Suricata. This
  * document contains information about architecture and code structure. It
  * is attended for developers wanting to understand or contribute to Suricata.
  *