From: Kevin Day Date: Fri, 26 Jul 2024 00:17:31 +0000 (-0500) Subject: Regression: The wrong error is being printed for fll_control_group_prepare() call. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d56572da1fa08c77d49a323b8385d2d891d64a62;p=controller Regression: The wrong error is being printed for fll_control_group_prepare() call. --- 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; }