fix constraint violation in ftw
[musl] / src / linux / swapoff.c
index f6fa794..9f95e82 100644 (file)
@@ -1,8 +1,7 @@
 #include <sys/swap.h>
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
 int swapoff(const char *path)
 {
-       return syscall1(__NR_swapoff, (long)path);
+       return syscall(SYS_swapoff, path);
 }