projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: fix undefined shift in logf
[musl]
/
src
/
mman
/
msync.c
diff --git
a/src/mman/msync.c
b/src/mman/msync.c
index
e092647
..
fcd8cdf
100644
(file)
--- a/
src/mman/msync.c
+++ b/
src/mman/msync.c
@@
-1,8
+1,7
@@
-#include <unistd.h>
#include <sys/mman.h>
#include "syscall.h"
int msync(void *start, size_t len, int flags)
{
- return syscall
3(__NR_msync, (long)
start, len, flags);
+ return syscall
_cp(SYS_msync,
start, len, flags);
}