mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-16 12:52:46 +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
|
@ -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…
Reference in a new issue