summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/fstatfs64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/fstatfs64.c')
-rw-r--r--libc/misc/statfs/fstatfs64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/misc/statfs/fstatfs64.c b/libc/misc/statfs/fstatfs64.c
index a7f94b125..dfd027941 100644
--- a/libc/misc/statfs/fstatfs64.c
+++ b/libc/misc/statfs/fstatfs64.c
@@ -26,7 +26,8 @@
#include <stddef.h>
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(fstatfs)
+extern __typeof(fstatfs) __libc_fstatfs;
+libc_hidden_proto(__libc_fstatfs)
/* Return information about the filesystem on which FD resides. */
libc_hidden_proto(fstatfs64)
@@ -34,7 +35,7 @@ int fstatfs64 (int fd, struct statfs64 *buf)
{
struct statfs buf32;
- if (fstatfs (fd, &buf32) < 0)
+ if (__libc_fstatfs (fd, &buf32) < 0)
return -1;
buf->f_type = buf32.f_type;