From 44b63c949f986cf49a87c37b34b3b7445b84f098 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 6 May 2023 07:21:33 +0200 Subject: [PATCH] debug: spelling --- src/util-debug-filters.c | 8 ++++---- src/util-debug.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util-debug-filters.c b/src/util-debug-filters.c index b8e0432f94..fe6c4d5e9a 100644 --- a/src/util-debug-filters.c +++ b/src/util-debug-filters.c @@ -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. * diff --git a/src/util-debug.h b/src/util-debug.h index 19e89a5596..2a0864cdd8 100644 --- a/src/util-debug.h +++ b/src/util-debug.h @@ -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