diff --git a/src/detect-engine.c b/src/detect-engine.c index 2943a294ad..e353f73b58 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -37,7 +37,7 @@ DetectEngineCtx *DetectEngineCtxInit(void) { memset(de_ctx,0,sizeof(DetectEngineCtx)); - if (ConfGetBool("engine.init_failure_fatal", &(de_ctx->failure_fatal)) != 1) { + if (ConfGetBool("engine.init_failure_fatal", (int *)&(de_ctx->failure_fatal)) != 1) { SCLogDebug("ConfGetBool could not load the value."); } diff --git a/src/eidps.c b/src/eidps.c index 2fbea6c0e8..c9fcb0dc9a 100644 --- a/src/eidps.c +++ b/src/eidps.c @@ -279,6 +279,8 @@ void usage(const char *progname) printf("\t-u : run the unittests and exit\n"); printf("\t-U, --unittest-filter=REGEX : filter unittests with a regex\n"); printf("\t--list-unittests : list unit tests\n"); + printf("\t--init-errors-fatal : enable fatal failure on signature init error\n"); + printf("\t--fatal-unittests : enable fatal failure on unittest error\n"); #endif /* UNITTESTS */ printf("\n"); }