From: Kevin Day Date: Sat, 14 May 2022 20:24:17 +0000 (-0500) Subject: Regression: Fix mistake in variable name of controller program. X-Git-Tag: 0.5.10~135 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=28394d5b5ee998abeac289331fd0e6e225f60e35;p=fll 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". --- 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);