From e3d6c8bffe79b2c070bc7a3aabc9d9c65f6b099e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 3 Nov 2017 20:15:44 +0100 Subject: Only emulate statfs64 if __NR_statfs64 is not defined After discussions on the busybox mailinglist. Reported-by: Ralf Friedl Signed-off-by: Waldemar Brodkorb --- libc/misc/statfs/statfs64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc') 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) { -- cgit v1.2.3