summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/statvfs64.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 21:04:04 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 21:04:04 +0000
commitb9d5730fe1730919320c27db1c3d7d44fa8d3b63 (patch)
tree7f36f93ed8d1eeb03e149b3a991f5056a32dd9fc /libc/misc/statfs/statvfs64.c
parent979c7857dbe08dde22070e42deab40e233a9537a (diff)
get rid of *stat*64 jump relocs
Diffstat (limited to 'libc/misc/statfs/statvfs64.c')
-rw-r--r--libc/misc/statfs/statvfs64.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/misc/statfs/statvfs64.c b/libc/misc/statfs/statvfs64.c
index ccde33757..ac92fbc7e 100644
--- a/libc/misc/statfs/statvfs64.c
+++ b/libc/misc/statfs/statvfs64.c
@@ -42,16 +42,18 @@
#include <sys/statfs.h>
#include <sys/statvfs.h>
-//libc_hidden_proto(statfs)
-//libc_hidden_proto(stat)
+#undef stat
+#define stat stat64
+libc_hidden_proto(statfs64)
+libc_hidden_proto(stat64)
int statvfs (const char *file, struct statvfs *buf)
{
- struct statfs fsbuf;
- struct stat st;
+ struct statfs64 fsbuf;
+ struct stat64 st;
/* Get as much information as possible from the system. */
- if (statfs (file, &fsbuf) < 0)
+ if (statfs64 (file, &fsbuf) < 0)
return -1;
#define STAT(st) stat (file, st)