From d56572da1fa08c77d49a323b8385d2d891d64a62 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 25 Jul 2024 19:17:31 -0500 Subject: [PATCH] Regression: The wrong error is being printed for fll_control_group_prepare() call. --- sources/c/program/controller/main/rule/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/c/program/controller/main/rule/execute.c b/sources/c/program/controller/main/rule/execute.c index f3a5190..6ccdcd2 100644 --- a/sources/c/program/controller/main/rule/execute.c +++ b/sources/c/program/controller/main/rule/execute.c @@ -41,7 +41,7 @@ extern "C" { status = fll_control_group_prepare(instance->rule.cgroup); if (F_status_is_error(status)) { - controller_print_error_file(&main->program.error, macro_controller_f(fll_control_group_prepare), instance->rule.cgroup.path, controller_print_rule_control_groups_prepare_s, fll_error_file_type_directory_e); + controller_print_error_file_status(&main->program.error, macro_controller_f(fll_control_group_prepare), instance->rule.cgroup.path, controller_print_rule_control_groups_prepare_s, fll_error_file_type_directory_e, F_status_set_fine(status)); return status; } -- 1.8.3.1