X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fswapoff.c;h=9f95e82d42743d2bedb8e289587c7bb026b32cc3;hb=b5a8b28915aad17b6f49ccacd6d3fef3890844d1;hp=f6fa794eee2d07bcdf6a5285df608f660c3d4061;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/linux/swapoff.c b/src/linux/swapoff.c index f6fa794e..9f95e82d 100644 --- a/src/linux/swapoff.c +++ b/src/linux/swapoff.c @@ -1,8 +1,7 @@ #include -#define SYSCALL_STANDALONE #include "syscall.h" int swapoff(const char *path) { - return syscall1(__NR_swapoff, (long)path); + return syscall(SYS_swapoff, path); }