diff --git a/src/level_list.c b/src/level_list.c index b924439..208a954 100644 --- a/src/level_list.c +++ b/src/level_list.c @@ -114,7 +114,7 @@ zlog_level_t *zlog_level_list_get(zc_arraylist_t *levels, int l) #if 0 if ((l <= 0) || (l > 254)) { /* illegal input from zlog() */ - zc_error("l[%d] not in (0,254), set to UNKOWN", l); + zc_error("l[%d] not in (0,254), set to UNKNOWN", l); l = 254; } #endif @@ -125,7 +125,7 @@ zlog_level_t *zlog_level_list_get(zc_arraylist_t *levels, int l) } else { /* empty slot */ zc_error("l[%d] not in (0,254), or has no level defined," - "see configure file define, set to UNKOWN", l); + "see configure file define, set to UNKNOWN", l); return zc_arraylist_get(levels, 254); } } diff --git a/src/rule.c b/src/rule.c index da8e44a..4427e2b 100644 --- a/src/rule.c +++ b/src/rule.c @@ -395,7 +395,7 @@ static int zlog_rule_output_static_record(zlog_rule_t * a_rule, zlog_thread_t * zlog_msg_t msg; if (!a_rule->record_func) { - zc_error("user defined record funcion for [%s] not set, no output", + zc_error("user defined record function for [%s] not set, no output", a_rule->record_name); return -1; } @@ -422,7 +422,7 @@ static int zlog_rule_output_dynamic_record(zlog_rule_t * a_rule, zlog_thread_t * zlog_msg_t msg; if (!a_rule->record_func) { - zc_error("user defined record funcion for [%s] not set, no output", + zc_error("user defined record function for [%s] not set, no output", a_rule->record_name); return -1; }