X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Ffstatvfs.c;h=806c3fd462be5e1be87837c7e40852f0d60274fb;hb=e0037efc1253e190c7c75f74e5a05333fdd807bb;hp=833e8ec87606d4457db9916255ddfed1cd37c27b;hpb=7e795ca7edfb2b952abe6a839e84a94420ff8a90;p=musl diff --git a/src/stat/fstatvfs.c b/src/stat/fstatvfs.c index 833e8ec8..806c3fd4 100644 --- a/src/stat/fstatvfs.c +++ b/src/stat/fstatvfs.c @@ -4,7 +4,11 @@ int fstatvfs(int fd, struct statvfs *buf) { - return syscall(SYS_fstatfs, fd, sizeof *buf, buf); +#ifdef SYS_fstatfs64 + return syscall(SYS_fstatfs64, fd, sizeof *buf, buf); +#else + return syscall(SYS_fstatfs, fd, buf); +#endif } weak_alias(fstatvfs, fstatfs);