summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/fstatfs64.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-16 20:38:09 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-16 20:38:09 +0000
commit32bef6f20a44868624c4a3429b3a9130c3694854 (patch)
treefee134a4df418edd9d9d4f44610be5d0475d203f /libc/misc/statfs/fstatfs64.c
parent018e1888b885debb9f8cc061db815541cecde511 (diff)
- cleanup {,f}stat{,v}fs{,64} relocs
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;