mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 01:00:05 +00:00
UserspaceEmulator: Make the "unimplemented syscall" output look nicer
This commit is contained in:
parent
35c745ca54
commit
2b3b83801b
Notes:
sideshowbarker
2024-07-19 04:09:38 +09:00
Author: https://github.com/awesomekling
Commit: 2b3b83801b
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
|
||||||
case SC_fork:
|
case SC_fork:
|
||||||
return virt$fork();
|
return virt$fork();
|
||||||
default:
|
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();
|
dump_backtrace();
|
||||||
TODO();
|
TODO();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue