diff options
Diffstat (limited to 'src/stat/statvfs.c')
-rw-r--r-- | src/stat/statvfs.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |