global cleanup to use the new syscall interface
[musl] / src / stat / fstatvfs.c
index 4a8bfe2..8a2e423 100644 (file)
@@ -4,7 +4,7 @@
 
 int fstatvfs(int fd, struct statvfs *buf)
 {
-       return syscall2(__NR_fstatfs, fd, (long)buf);
+       return syscall(SYS_fstatfs, fd, buf);
 }
 
 weak_alias(fstatvfs, fstatfs);