Browse Source

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>
Waldemar Brodkorb 6 years ago
parent
commit
e3d6c8bffe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/statfs/statfs64.c

+ 1 - 1
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)
 {