fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git] / src / linux / swapoff.c
index 4f19823fc1a0ca171ecad924e3e4733a549c7aa0..9f95e82d42743d2bedb8e289587c7bb026b32cc3 100644 (file)
@@ -3,5 +3,5 @@
 
 int swapoff(const char *path)
 {
-       return syscall1(__NR_swapoff, (long)path);
+       return syscall(SYS_swapoff, path);
 }