Просмотр исходного кода

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 7 лет назад
Родитель
Сommit
e3d6c8bffe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libc/misc/statfs/statfs64.c

+ 1 - 1
libc/misc/statfs/statfs64.c

@@ -25,7 +25,7 @@
 
 
 extern __typeof(statfs) __libc_statfs;
 extern __typeof(statfs) __libc_statfs;
 
 
-#if defined __NR_statfs
+#if !defined __NR_statfs64
 /* Return information about the filesystem on which FILE resides.  */
 /* Return information about the filesystem on which FILE resides.  */
 int statfs64 (const char *file, struct statfs64 *buf)
 int statfs64 (const char *file, struct statfs64 *buf)
 {
 {