projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git]
/
src
/
linux
/
swapoff.c
diff --git
a/src/linux/swapoff.c
b/src/linux/swapoff.c
index f6fa794eee2d07bcdf6a5285df608f660c3d4061..9f95e82d42743d2bedb8e289587c7bb026b32cc3 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);
}