projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
floating point environment, untested
[oweals/musl.git]
/
src
/
stat
/
statvfs.c
diff --git
a/src/stat/statvfs.c
b/src/stat/statvfs.c
index 1725299785316ad1024f8a507aa5c5886b5f53b2..e72c225c74aa98ecb5cc0038904019856ec7e7de 100644
(file)
--- a/
src/stat/statvfs.c
+++ b/
src/stat/statvfs.c
@@
-4,7
+4,11
@@
int statvfs(const char *path, struct statvfs *buf)
{
+#ifdef SYS_statfs64
+ return syscall(SYS_statfs64, path, sizeof *buf, buf);
+#else
return syscall(SYS_statfs, path, buf);
+#endif
}
weak_alias(statvfs, statfs);