X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstat%2Fstatvfs.c;h=e72c225c74aa98ecb5cc0038904019856ec7e7de;hb=ce17ea6f2cae0c0c1c14dac5c7c7330f2503d069;hp=517eebda719b5d7e0a2b5627f9cabc827c1a7435;hpb=7e795ca7edfb2b952abe6a839e84a94420ff8a90;p=musl diff --git a/src/stat/statvfs.c b/src/stat/statvfs.c index 517eebda..e72c225c 100644 --- a/src/stat/statvfs.c +++ b/src/stat/statvfs.c @@ -4,7 +4,11 @@ int statvfs(const char *path, struct statvfs *buf) { - return syscall(SYS_statfs, path, sizeof *buf, buf); +#ifdef SYS_statfs64 + return syscall(SYS_statfs64, path, sizeof *buf, buf); +#else + return syscall(SYS_statfs, path, buf); +#endif } weak_alias(statvfs, statfs);