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

index b8e0432f94f0b520ada9bb5d1abbda3b93c635da..fe6c4d5e9aa7b890168df3d5f3a75ed5ac2616a1 100644 (file)
@@ -44,7 +44,7 @@ int sc_log_fd_filters_present = 0;
 SCLogFGFilterFile *sc_log_fg_filters[SC_LOG_FILTER_MAX] = { NULL, NULL };
 
 /**
- * \brief Mutex for accessing the fine-grained fiters sc_log_fg_filters
+ * \brief Mutex for accessing the fine-grained filters sc_log_fg_filters
  */
 static SCMutex sc_log_fg_filters_m[SC_LOG_FILTER_MAX] = { SCMUTEX_INITIALIZER,
                                                           SCMUTEX_INITIALIZER };
@@ -301,7 +301,7 @@ int SCLogMatchFGFilterWL(const char *file, const char *function, int line)
  *        of the FG filters.  If there is a match it rejects the logging
  *        for that messages, else it allows that message to be logged
  *
- * \praram file    File_name from where the log_message originated
+ * \param file    File_name from where the log_message originated
  * \param function Function_name from where the log_message originated
  * \param line     Line number from where the log_message originated
  *
@@ -319,7 +319,7 @@ int SCLogMatchFGFilterBL(const char *file, const char *function, int line)
  *        allows messages that match this filter, to be logged, while the filter
  *        is defined using a file_name, function_name and line_number.
  *
- *        If a particular paramter in the fg-filter(file, function and line),
+ *        If a particular parameter in the fg-filter(file, function and line),
  *        shouldn't be considered while logging the message, one can supply
  *        NULL for the file_name or function_name and a negative line_no.
  *
@@ -340,7 +340,7 @@ int SCLogAddFGFilterWL(const char *file, const char *function, int line)
  *        allows messages that don't match this filter, to be logged, while the
  *        filter is defined using a file_name, function_name and line_number
  *
- *        If a particular paramter in the fg-filter(file, function and line),
+ *        If a particular parameter in the fg-filter(file, function and line),
  *        shouldn't be considered while logging the message, one can supply
  *        NULL for the file_name or function_name and a negative line_no.
  *
index 19e89a5596a89fa54321dabe550d5f2e2657bc35..2a0864cdd83a0e5bf7fcfc8ad7cb9c0df945cc40 100644 (file)
@@ -473,7 +473,7 @@ void SCLogErr(int x, const char *file, const char *func, const int line, const c
 
 /**
  * \brief Macro used to log debug messages on function exit.  Comes under the
- *        debugging sybsystem, and hence will be enabled only in the presence
+ *        debugging subsystem, and hence will be enabled only in the presence
  *        of the DEBUG macro.  Apart from logging function_exit logs, it also
  *        processes the FD filters, if any FD filters are registered.  This
  *        function_exit macro should be used for functions that returns a