global cleanup to use the new syscall interface
[musl] / src / linux / swapoff.c
index 4f19823..9f95e82 100644 (file)
@@ -3,5 +3,5 @@
 
 int swapoff(const char *path)
 {
-       return syscall1(__NR_swapoff, (long)path);
+       return syscall(SYS_swapoff, path);
 }