mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:18:13 +00:00
Userland: Replace most printf-style APIs with AK::Format APIs :^)
This commit is contained in:
parent
4f1889c2cb
commit
f5c35fccca
75 changed files with 642 additions and 644 deletions
|
@ -26,9 +26,9 @@ enum class BinaryFileMode {
|
|||
template<typename... Ts>
|
||||
void fail(StringView format, Ts... args)
|
||||
{
|
||||
fprintf(stderr, "\x1b[31m");
|
||||
warn("\x1b[31m");
|
||||
warnln(format, forward<Ts>(args)...);
|
||||
fprintf(stderr, "\x1b[0m");
|
||||
warn("\x1b[0m");
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue