diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-07 16:22:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-07 16:34:50 +0200 |
commit | 2b3b83801bd70debc8bde4068fecd64aee8160b5 (patch) | |
tree | 5299fd2bd28cce18bca73896ea485d53de4f0274 /DevTools | |
parent | 35c745ca543baa0363a4d28c39d926cd4fb9a927 (diff) | |
download | serenity-2b3b83801bd70debc8bde4068fecd64aee8160b5.zip |
UserspaceEmulator: Make the "unimplemented syscall" output look nicer
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/UserspaceEmulator/Emulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/UserspaceEmulator/Emulator.cpp b/DevTools/UserspaceEmulator/Emulator.cpp index a506030d79..42e2c5a9da 100644 --- a/DevTools/UserspaceEmulator/Emulator.cpp +++ b/DevTools/UserspaceEmulator/Emulator.cpp @@ -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(); } |