Kernel: Use empty string instead of nullptr for non existing proc name
This commit is contained in:
@@ -293,7 +293,7 @@ namespace Kernel
|
|||||||
|
|
||||||
const char* process_name = (tid && Thread::current().has_process())
|
const char* process_name = (tid && Thread::current().has_process())
|
||||||
? Process::current().name()
|
? Process::current().name()
|
||||||
: nullptr;
|
: "";
|
||||||
|
|
||||||
#if ARCH(x86_64)
|
#if ARCH(x86_64)
|
||||||
dwarnln(
|
dwarnln(
|
||||||
|
|||||||
Reference in New Issue
Block a user