diff options
Diffstat (limited to 'src/mman/madvise.c')
-rw-r--r-- | src/mman/madvise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mman/madvise.c b/src/mman/madvise.c index f03647ca..f80926be 100644 --- a/src/mman/madvise.c +++ b/src/mman/madvise.c @@ -4,7 +4,7 @@ int __madvise(void *addr, size_t len, int advice) { - return syscall3(__NR_madvise, (long)addr, len, advice); + return syscall(SYS_madvise, addr, len, advice); } weak_alias(__madvise, madvise); |