projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimize compound-literal sigset_t's not to contain useless hurd bits
[musl]
/
src
/
stat
/
fstatvfs.c
diff --git
a/src/stat/fstatvfs.c
b/src/stat/fstatvfs.c
index
8a2e423
..
806c3fd
100644
(file)
--- a/
src/stat/fstatvfs.c
+++ b/
src/stat/fstatvfs.c
@@
-4,7
+4,11
@@
int fstatvfs(int fd, struct statvfs *buf)
{
+#ifdef SYS_fstatfs64
+ return syscall(SYS_fstatfs64, fd, sizeof *buf, buf);
+#else
return syscall(SYS_fstatfs, fd, buf);
+#endif
}
weak_alias(fstatvfs, fstatfs);