|
@@ -25,7 +25,7 @@
|
|
|
#include <sys/syscall.h>
|
|
|
#include <stddef.h>
|
|
|
|
|
|
-#if defined __NR_fstatfs
|
|
|
+#if !defined __NR_fstatfs64
|
|
|
extern __typeof(fstatfs) __libc_fstatfs;
|
|
|
|
|
|
|
|
@@ -55,11 +55,6 @@ int fstatfs64 (int fd, struct statfs64 *buf)
|
|
|
return 0;
|
|
|
}
|
|
|
#else
|
|
|
-
|
|
|
- * Use the fstatfs64 system call if fstatfs is not defined
|
|
|
- * This is for backwards compatibility and it should be
|
|
|
- * made default in the future
|
|
|
- */
|
|
|
int fstatfs64(int fd, struct statfs64 *buf)
|
|
|
{
|
|
|
|