runmodes: spelling

pull/8828/head
Victor Julien 2 years ago
parent 1186036a88
commit c38c54107b

@ -122,7 +122,7 @@ static TAILQ_HEAD(, OutputFreeList_) output_free_list =
/** /**
* \internal * \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. * \param runmode Runmode to be converted into a printable string.
* *
@ -193,7 +193,7 @@ static const char *RunModeTranslateModeToName(int runmode)
* based on runmode + runmode_custom_id. * based on runmode + runmode_custom_id.
* *
* \param runmode The runmode type. * \param runmode The runmode type.
* \param runmode_customd_id The runmode custom id. * \param runmode_custom_id The runmode custom id.
*/ */
static RunMode *RunModeGetCustomMode(enum RunModes runmode, const char *custom_mode) 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; return NULL;
} }
} else { } else {
/* Add compability with old 'worker' name */ /* Add compatibility with old 'worker' name */
if (!strcmp("worker", custom_mode)) { if (!strcmp("worker", custom_mode)) {
SCLogWarning("'worker' mode have been renamed " SCLogWarning("'worker' mode have been renamed "
"to 'workers', please modify your setup."); "to 'workers', please modify your setup.");

Loading…
Cancel
Save