Fix fadvise64

posix variant still doesn't quite match the actual syscall implementation
This commit is contained in:
Ryan Houdek committed 2021-05-11 18:39:00 -07:00
1 parent eb02afe952
commit 94f464e1a4
1 file changed
+1 -1
+1 -1
View File
@@ -149,7 +149,7 @@ namespace FEX::HLE {
});
REGISTER_SYSCALL_IMPL(fadvise64, [](FEXCore::Core::CpuStateFrame *Frame, int fd, off_t offset, off_t len, int advice) -> uint64_t {
uint64_t Result = ::posix_fadvise64(fd, offset, len, advice);
uint64_t Result = ::syscall(SYS_fadvise64, fd, offset, len, advice);
SYSCALL_ERRNO();
});