[glass, wpiutil] Add missing format args (#3626)

These were caught by compile-time format string parsing in C++20.
This commit is contained in:
Tyler Veness
2021-10-11 22:54:20 -07:00
committed by GitHub
parent 4e3fd7d420
commit fa41b106ab
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ void wpi::report_fatal_error(std::string_view Reason, bool GenCrashDiag) {
if (handler) {
handler(handlerData, std::string{Reason}, GenCrashDiag);
} else {
fmt::print(stderr, "LLVM ERROR: {}\n");
fmt::print(stderr, "LLVM ERROR: {}\n", Reason);
}
exit(1);