]> Kevux Git Server - controller/commitdiff
Regression: The wrong error is being printed for fll_control_group_prepare() call.
authorKevin Day <Kevin@kevux.org>
Fri, 26 Jul 2024 00:17:31 +0000 (19:17 -0500)
committerKevin Day <Kevin@kevux.org>
Fri, 26 Jul 2024 00:17:31 +0000 (19:17 -0500)
sources/c/program/controller/main/rule/execute.c

index f3a5190fbf14b6ea1bfb28068a444df323955a06..6ccdcd27a72aa2e964378f59016c0ca0fe11bdf4 100644 (file)
@@ -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;
         }