projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add useless, obsolescent function ulimit
[musl]
/
src
/
mman
/
mprotect.c
diff --git
a/src/mman/mprotect.c
b/src/mman/mprotect.c
index
11d5e23
..
1db2aea
100644
(file)
--- a/
src/mman/mprotect.c
+++ b/
src/mman/mprotect.c
@@
-3,5
+3,5
@@
int mprotect(void *addr, size_t len, int prot)
{
int mprotect(void *addr, size_t len, int prot)
{
- return syscall
3(__NR_mprotect, (long)
addr, len, prot);
+ return syscall
(SYS_mprotect,
addr, len, prot);
}
}