From c73e43c9731ba056092688e066cda719f6297d57 Mon Sep 17 00:00:00 2001 From: rohith-raju Date: Wed, 28 Jun 2023 14:15:19 +0000 Subject: [PATCH] cleanup: fix workflow and build errors Signed-off-by: rohith-raju --- userspace/engine/falco_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/engine/falco_engine.cpp b/userspace/engine/falco_engine.cpp index 6d81af58..65c4ef80 100644 --- a/userspace/engine/falco_engine.cpp +++ b/userspace/engine/falco_engine.cpp @@ -771,7 +771,7 @@ void falco_engine::get_json_evt_types(libsinsp::filter::ast::expr* ast, auto evtcodes = libsinsp::filter::ast::ppm_event_codes(ast); libsinsp::events::set syscodes; #ifdef __linux__ - auto syscodes = libsinsp::filter::ast::ppm_sc_codes(ast); + syscodes = libsinsp::filter::ast::ppm_sc_codes(ast); #endif auto syscodes_to_evt_names = libsinsp::events::sc_set_to_event_names(syscodes); auto evtcodes_to_evt_names = libsinsp::events::event_set_to_names(evtcodes, false);