summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/statfs64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/statfs64.c')
-rw-r--r--libc/misc/statfs/statfs64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c
index 18ce33be8..6b3558b5e 100644
--- a/libc/misc/statfs/statfs64.c
+++ b/libc/misc/statfs/statfs64.c
@@ -23,9 +23,9 @@
#include <stddef.h>
#include <sys/statfs.h>
-
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(statfs)
+extern __typeof(statfs) __libc_statfs;
+libc_hidden_proto(__libc_statfs)
/* Return information about the filesystem on which FILE resides. */
libc_hidden_proto(statfs64)
@@ -33,7 +33,7 @@ int statfs64 (const char *file, struct statfs64 *buf)
{
struct statfs buf32;
- if (statfs (file, &buf32) < 0)
+ if (__libc_statfs (file, &buf32) < 0)
return -1;
buf->f_type = buf32.f_type;