summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-30 23:01:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-10-30 23:02:06 +0100
commitb833aa416238ae2c9400a894f9f06e8e8cc17865 (patch)
tree760a8a7cf245029ed25af588b48ed97b6a7add5a /Kernel/Syscall.cpp
parent00c21d15902c36242aa3a9a3ef1b22948dcccbf7 (diff)
downloadserenity-b833aa416238ae2c9400a894f9f06e8e8cc17865.zip
Fix bug where Console::the() was initialized too late.
Yet another problem due to lack of BSS zeroing in the kernel loader...
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r--Kernel/Syscall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp
index e460da4b90..8ec4b7c28b 100644
--- a/Kernel/Syscall.cpp
+++ b/Kernel/Syscall.cpp
@@ -117,7 +117,7 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
case Syscall::PosixTtynameR:
return current->sys$ttyname_r((int)arg1, (char*)arg2, (size_t)arg3);
default:
- kprintf("int0x80: Unknown function %x requested {%x, %x, %x}\n", function, arg1, arg2, arg3);
+ kprintf("<%u> int0x80: Unknown function %x requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3);
break;
}
return 0;