]> Kevux Git Server - fll/commitdiff
Bugfix: Use '%Q' rather than '%S' when printing error.prefix and add missing error...
authorKevin Day <thekevinday@gmail.com>
Sat, 14 May 2022 13:56:00 +0000 (08:56 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 14 May 2022 13:56:00 +0000 (08:56 -0500)
level_3/controller/c/rule/private-rule.c
level_3/fake/c/private-fake.c

index 41a7159f3619dad7be07cb4c62dbb6ddd2f69df1..6bb29e84fb1af40711fa1a490ba12ec568f6eac0 100644 (file)
@@ -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);
 
index c8232bd215fa3d137f003b0fd46ee1627d86149c..be2ffe4289f920c79f32f0ff2ec4a9d0d2aaccac 100644 (file)
@@ -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);