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

UserspaceEmulator: Make the "unimplemented syscall" output look nicer

This commit is contained in:
Andreas Kling 2020-08-07 16:22:51 +02:00
parent 35c745ca54
commit 2b3b83801b

View file

@ -383,7 +383,7 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
case SC_fork:
return virt$fork();
default:
dbg() << "Unimplemented syscall: " << Syscall::to_string((Syscall::Function)function);
report("\n==%d== \033[31;1mUnimplemented syscall: %s\033[0m, %p\n", getpid(), Syscall::to_string((Syscall::Function)function));
dump_backtrace();
TODO();
}