summaryrefslogtreecommitdiff
path: root/libc/misc/statfs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-03 20:15:44 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-11-03 20:20:50 +0100
commite3d6c8bffe79b2c070bc7a3aabc9d9c65f6b099e (patch)
tree547552d47e02cb1e46fa58c5c5cf771715066f9e /libc/misc/statfs
parent43ed688c7f125360733b1be77b8217accef4510f (diff)
Only emulate statfs64 if __NR_statfs64 is not defined
After discussions on the busybox mailinglist. Reported-by: Ralf Friedl <Ralf.Friedl@online.de> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'libc/misc/statfs')
-rw-r--r--libc/misc/statfs/statfs64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/statfs/statfs64.c b/libc/misc/statfs/statfs64.c
index 7317870e2..da0cd6a3a 100644
--- a/libc/misc/statfs/statfs64.c
+++ b/libc/misc/statfs/statfs64.c
@@ -25,7 +25,7 @@
extern __typeof(statfs) __libc_statfs;
-#if defined __NR_statfs
+#if !defined __NR_statfs64
/* Return information about the filesystem on which FILE resides. */
int statfs64 (const char *file, struct statfs64 *buf)
{