diff options
Diffstat (limited to 'src/linux/swapoff.c')
-rw-r--r-- | src/linux/swapoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/swapoff.c b/src/linux/swapoff.c index 4f19823f..9f95e82d 100644 --- a/src/linux/swapoff.c +++ b/src/linux/swapoff.c @@ -3,5 +3,5 @@ int swapoff(const char *path) { - return syscall1(__NR_swapoff, (long)path); + return syscall(SYS_swapoff, path); } |