Browse Source

LibC: Simplify assertion failure dbgln() a bit

There's no need to say USERSPACE(PID) since dbgln() will prefix lines
with that information anyway.
Andreas Kling 4 years ago
parent
commit
f0409081f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Libraries/LibC/assert.cpp

+ 1 - 1
Userland/Libraries/LibC/assert.cpp

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