From 28394d5b5ee998abeac289331fd0e6e225f60e35 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 14 May 2022 15:24:17 -0500 Subject: [PATCH] Regression: Fix mistake in variable name of controller program. When I added a missing variable to the function, I somehow overlooked a compiler error/warning. This should be "global.main" and not "main". --- level_3/controller/c/rule/private-rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/controller/c/rule/private-rule.c b/level_3/controller/c/rule/private-rule.c index 6bb29e8..75cd4cf 100644 --- a/level_3/controller/c/rule/private-rule.c +++ b/level_3/controller/c/rule/private-rule.c @@ -4309,7 +4309,7 @@ extern "C" { controller_lock_print(global.main->error.to, global.thread); - fl_print_format("%r%[%QThe resource limit type is already specified%]%r", global.main->error.to.stream, f_string_eol_s, global.main->error.context, main->error.prefix, global.main->error.context, f_string_eol_s); + fl_print_format("%r%[%QThe resource limit type is already specified%]%r", global.main->error.to.stream, f_string_eol_s, global.main->error.context, global.main->error.prefix, global.main->error.context, f_string_eol_s); controller_rule_print_error_cache(global.main->error, cache->action, F_false); -- 1.8.3.1