HostBitInitCtx();
StorageFinalize();
- /* test and initialize the unittesting subsystem */
+ /* test and initialize the unit testing subsystem */
if (regex_arg == NULL){
regex_arg = ".*";
UtRunSelftest(regex_arg); /* inits and cleans up again */
/**
* \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.
*
* \brief Dispatcher function for runmodes. Calls the required runmode function
* based on runmode + runmode_custom_id.
*
- * \param runmode The runmode type.
- * \param runmode_customd_id The runmode custom id.
+ * \param runmode The runmode type.
+ * \param runmode_custom_id The runmode custom id.
*/
static RunMode *RunModeGetCustomMode(enum RunModes runmode, const char *custom_mode)
{
return NULL;
}
} else {
- /* Add compability with old 'worker' name */
+ /* Add compatibility with old 'worker' name */
if (!strcmp("worker", custom_mode)) {
SCLogWarning("'worker' mode have been renamed "
"to 'workers', please modify your setup.");