update copyright/credits for recent code additions
[musl] / src / linux / swapon.c
index 5c75247..2b40a30 100644 (file)
@@ -3,5 +3,5 @@
 
 int swapon(const char *path, int flags)
 {
-       return syscall2(__NR_swapon, (long)path, flags);
+       return syscall(SYS_swapon, path, flags);
 }