mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibC: Simplify assertion failure dbgln() a bit
There's no need to say USERSPACE(PID) since dbgln() will prefix lines with that information anyway.
This commit is contained in:
parent
de09a92bf8
commit
f0409081f5
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ extern bool __stdio_is_initialized;
|
|||
#ifndef NDEBUG
|
||||
void __assertion_failed(const char* msg)
|
||||
{
|
||||
dbgln("USERSPACE({}) ASSERTION FAILED: {}", getpid(), msg);
|
||||
dbgln("ASSERTION FAILED: {}", msg);
|
||||
if (__stdio_is_initialized)
|
||||
warnln("ASSERTION FAILED: {}", msg);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue