linux: Fix debug messages for syscalls

This commit is contained in:
EnderIce2 2024-11-18 04:06:41 +02:00
parent 4012a5d9e5
commit 9f34bd0192
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -4275,7 +4275,7 @@ uintptr_t HandleLinuxSyscalls(SyscallsFrame *Frame)
Frame->rdi, Frame->rsi, Frame->rdx,
Frame->r10, Frame->r8, Frame->r9);
debug("< [%d:\"%s\"] = %d", Frame->rax, Syscall.Name, sc_ret);
debug("< [%ld:\"%s\"] = %ld", Frame->rax, Syscall.Name, sc_ret);
return sc_ret;
#elif defined(a32)
if (Frame->eax > sizeof(LinuxSyscallsTableI386) / sizeof(SyscallData))