diff options
| -rwxr-xr-x | src/emu/x64syscall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c index 4f2b6fc3..2a4e65d6 100755 --- a/src/emu/x64syscall.c +++ b/src/emu/x64syscall.c @@ -547,9 +547,9 @@ uintptr_t EXPORT my_syscall(x64emu_t *emu) return (int)fchmodat((int)R_ESI, (void*)R_RDX, (mode_t)R_RCX, (int)R_R8d); #endif default: - printf_log(LOG_INFO, "Error: Unsupported libc Syscall 0x%02X (%d)\n", s, s); - emu->quit = 1; - emu->error |= ERR_UNIMPL; + printf_log(LOG_INFO, "Warning: Unsupported libc Syscall 0x%02X (%d)\n", s, s); + errno = ENOSYS; + return -1; } return 0; } |