diff --git a/userspace/engine/falco_engine.h b/userspace/engine/falco_engine.h index 71c0b590..3eaf3076 100644 --- a/userspace/engine/falco_engine.h +++ b/userspace/engine/falco_engine.h @@ -179,8 +179,8 @@ public: // is safe to assume that each invoker will pass a different event // to this method too, since two distinct sources cannot possibly produce // the same event. Lastly, filterchecks and formatters (and their factories) - // that used to populate the conditions for a given event-source ruleset, - // must not be reused across rulesets of other event sources. + // that are used to populate the conditions for a given event-source + // ruleset must not be reused across rulesets of other event sources. // These assumptions guarantee thread-safety because internally the engine // is partitioned by event sources. However, each ruleset assigned to each // event source is not thread-safe of its own, so invoking this method diff --git a/userspace/engine/stats_manager.cpp b/userspace/engine/stats_manager.cpp index 6da73ee9..3db39309 100644 --- a/userspace/engine/stats_manager.cpp +++ b/userspace/engine/stats_manager.cpp @@ -84,7 +84,7 @@ void stats_manager::on_event(const falco_rule& rule) if (m_by_rule_id.size() <= rule.id || m_by_priority.size() <= (size_t) rule.priority) { - throw falco_exception("rule id or priority is out of boubnds"); + throw falco_exception("rule id or priority out of bounds"); } m_total.fetch_add(1, std::memory_order_relaxed); m_by_rule_id[rule.id]->fetch_add(1, std::memory_order_relaxed);