From 3d0f353ee5b99dedac4fb5a58a0e0da250ed35a3 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Tue, 28 Jul 2020 08:39:39 -0400 Subject: [PATCH] output: Correct typos --- src/util-logopenfile.c | 2 +- src/util-logopenfile.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util-logopenfile.c b/src/util-logopenfile.c index 93d998b813..621232b2c8 100644 --- a/src/util-logopenfile.c +++ b/src/util-logopenfile.c @@ -509,7 +509,7 @@ int SCConfLogReopen(LogFileCtx *log_ctx) } /** \brief LogFileNewCtx() Get a new LogFileCtx - * \retval LogFileCtx * pointer if succesful, NULL if error + * \retval LogFileCtx * pointer if successful, NULL if error * */ LogFileCtx *LogFileNewCtx(void) { diff --git a/src/util-logopenfile.h b/src/util-logopenfile.h index 0e8bea78a1..40b4ed45b9 100644 --- a/src/util-logopenfile.h +++ b/src/util-logopenfile.h @@ -101,7 +101,7 @@ typedef struct LogFileCtx_ { size_t prefix_len; /** Generic size_limit and size_current - * They must be common to the threads accesing the same file */ + * They must be common to the threads accessing the same file */ uint64_t size_limit; /**< file size limit */ uint64_t size_current; /**< file current size */ @@ -112,7 +112,7 @@ typedef struct LogFileCtx_ { uint8_t send_flags; /* Flag if file is a regular file or not. Only regular files - * allow for rotataion. */ + * allow for rotation. */ uint8_t is_regular; /* JSON flags */