summaryrefslogtreecommitdiffstats
path: root/libc/include/sys/linux-unistd.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-07-08 16:52:27 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-07-08 16:52:27 -0700
commitab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4 (patch)
tree938dc20fe75d7fcedb7c11c7c44f68aa783463e7 /libc/include/sys/linux-unistd.h
parentd466780c7cedb41edcf13f28ad900556c6aaa5b2 (diff)
downloadbionic-ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4.zip
bionic-ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4.tar.gz
bionic-ab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4.tar.bz2
libc: fix fstatfs() implementation.
The syscall expects the size of the buffer as the second argument. Change-Id: I99ede2fec7fcd385ca03ff022c2cffa4297bea8d
Diffstat (limited to 'libc/include/sys/linux-unistd.h')
-rw-r--r--libc/include/sys/linux-unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h
index 27db2a9..3f151f9 100644
--- a/libc/include/sys/linux-unistd.h
+++ b/libc/include/sys/linux-unistd.h
@@ -87,7 +87,7 @@ int fsync (int);
int fchown (int, uid_t, gid_t);
void sync (void);
int __fcntl64 (int, int, void *);
-int fstatfs (int, size_t, struct statfs *);
+int __fstatfs64 (int, size_t, struct statfs *);
ssize_t sendfile (int out_fd, int in_fd, off_t *offset, size_t count);
int fstatat (int dirfd, const char *path, struct stat *buf, int flags);
int mkdirat (int dirfd, const char *pathname, mode_t mode);