diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-11-03 20:15:44 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-11-03 20:20:50 +0100 |
commit | e3d6c8bffe79b2c070bc7a3aabc9d9c65f6b099e (patch) | |
tree | 547552d47e02cb1e46fa58c5c5cf771715066f9e /libc | |
parent | 43ed688c7f125360733b1be77b8217accef4510f (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')
-rw-r--r-- | libc/misc/statfs/statfs64.c | 2 |
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) { |