X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmman%2Fmprotect.c;h=1db2aea2f127afeab663822b839981a36e9220f1;hb=aa398f56fa398f2202b04e82c67f822f3233786f;hp=11d5e23110156e60c71a217a484fdee44d8a3c21;hpb=be82e122bf37fdcd1766d1ed220f0300b30ab6a3;p=musl diff --git a/src/mman/mprotect.c b/src/mman/mprotect.c index 11d5e231..1db2aea2 100644 --- a/src/mman/mprotect.c +++ b/src/mman/mprotect.c @@ -3,5 +3,5 @@ int mprotect(void *addr, size_t len, int prot) { - return syscall3(__NR_mprotect, (long)addr, len, prot); + return syscall(SYS_mprotect, addr, len, prot); }