1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

Fix bug where Console::the() was initialized too late.

Yet another problem due to lack of BSS zeroing in the kernel loader...
This commit is contained in:
Andreas Kling 2018-10-30 23:01:48 +01:00
parent 00c21d1590
commit b833aa4162
3 changed files with 4 additions and 2 deletions

View file

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