projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global cleanup to use the new syscall interface
[musl]
/
src
/
linux
/
swapon.c
diff --git
a/src/linux/swapon.c
b/src/linux/swapon.c
index
5c75247
..
2b40a30
100644
(file)
--- a/
src/linux/swapon.c
+++ b/
src/linux/swapon.c
@@
-3,5
+3,5
@@
int swapon(const char *path, int flags)
{
- return syscall
2(__NR_swapon, (long)
path, flags);
+ return syscall
(SYS_swapon,
path, flags);
}