IPCMagicLinter: Add missing format parameter to an error log

This commit is contained in:
Timothy Flynn 2023-07-05 15:01:14 -04:00 committed by Andreas Kling
parent 442ca4f9b4
commit eed0c32357
Notes: sideshowbarker 2024-07-17 16:42:19 +09:00

View file

@ -55,7 +55,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (!endpoint_name.is_null()) {
// Note: If there are three or more endpoints defined in a file, these errors will look a bit wonky.
// However, that's fine, because it shouldn't happen in the first place.
warnln("Error: Multiple endpoints in file '{}': Found {} and {}", filename, line_endpoint_name);
warnln("Error: Multiple endpoints in file '{}': Found {} and {}", filename, endpoint_name, line_endpoint_name);
had_errors = true;
continue; // next line
}