From: Kevin Day Date: Sat, 14 May 2022 13:56:00 +0000 (-0500) Subject: Bugfix: Use '%Q' rather than '%S' when printing error.prefix and add missing error... X-Git-Tag: 0.5.10~137 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d909b549dfbda7d00bb13ccb97b509b3e6a5b96e;p=fll Bugfix: Use '%Q' rather than '%S' when printing error.prefix and add missing error.prefix. --- diff --git a/level_3/controller/c/rule/private-rule.c b/level_3/controller/c/rule/private-rule.c index 41a7159..6bb29e8 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%[%SThe resource limit type is already specified%]%r", global.main->error.to.stream, f_string_eol_s, global.main->error.context, 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, main->error.prefix, global.main->error.context, f_string_eol_s); controller_rule_print_error_cache(global.main->error, cache->action, F_false); diff --git a/level_3/fake/c/private-fake.c b/level_3/fake/c/private-fake.c index c8232bd..be2ffe4 100644 --- a/level_3/fake/c/private-fake.c +++ b/level_3/fake/c/private-fake.c @@ -453,7 +453,7 @@ extern "C" { if (fll_error_print(data->main->error, F_status_set_fine(status), "fll_program_parameter_additional_rip", F_false) == F_known_not && data->main->error.verbosity != f_console_verbosity_quiet_e) { flockfile(data->main->error.to.stream); - fl_print_format("%r%[%SFailed to process the parameter '%]", data->main->error.to.stream, f_string_eol_s, data->main->error.context, data->main->error.prefix, data->main->error.context); + fl_print_format("%r%[%QFailed to process the parameter '%]", data->main->error.to.stream, f_string_eol_s, data->main->error.context, data->main->error.prefix, data->main->error.context); fl_print_format("%[%r%r%]", data->main->error.to.stream, data->main->error.notable, f_console_symbol_long_enable_s, fake_long_mode_s, data->main->error.notable); fl_print_format("%['.%]%r", data->main->error.to.stream, data->main->error.context, data->main->error.context, f_string_eol_s);