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:
Andreas Kling 2021-07-21 17:45:24 +02:00
parent de09a92bf8
commit f0409081f5

View file

@ -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);