mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 05:02:02 +00:00
global cleanup to use the new syscall interface
This commit is contained in:
@ -3,5 +3,5 @@
|
||||
|
||||
int swapoff(const char *path)
|
||||
{
|
||||
return syscall1(__NR_swapoff, (long)path);
|
||||
return syscall(SYS_swapoff, path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user