projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement mq_notify
[musl]
/
src
/
linux
/
swapoff.c
diff --git
a/src/linux/swapoff.c
b/src/linux/swapoff.c
index
f6fa794
..
9f95e82
100644
(file)
--- a/
src/linux/swapoff.c
+++ b/
src/linux/swapoff.c
@@
-1,8
+1,7
@@
#include <sys/swap.h>
-#define SYSCALL_STANDALONE
#include "syscall.h"
int swapoff(const char *path)
{
- return syscall
1(__NR_swapoff, (long)
path);
+ return syscall
(SYS_swapoff,
path);
}