mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
Fix fadvise64
posix variant still doesn't quite match the actual syscall implementation
This commit is contained in:
1 parent
eb02afe952
commit
94f464e1a4
1 file changed
+1
-1
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user