summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index fa5de0c2..17f23c5b 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -1540,7 +1540,7 @@ level_type : string
$$ = LOG_CRIT;
else if (!strcmp("err", $1))
$$ = LOG_ERR;
- else if (!strcmp("warning", $1))
+ else if (!strcmp("warn", $1))
$$ = LOG_WARNING;
else if (!strcmp("notice", $1))
$$ = LOG_NOTICE;