Prechádzať zdrojové kódy

fix kernel_stat64 definition

The commit 74ca8d6f5d2e ("remove UCLIBC_HAS_LFS") removed conditional
compilation dependent on __UCLIBC_HAS_LFS__, assuming it to be always
defined, but removed the wrong branch in the definition of
kernel_stat64.
Fix kernel_stat64 definition to be stat64.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
Max Filippov 2 týždňov pred
rodič
commit
1868784053

+ 1 - 1
libc/sysdeps/linux/common-generic/bits/kernel_stat.h

@@ -18,7 +18,7 @@
  * However that requires more #ifndef in relevant wrappers,
  * further uglifying them
  */
-#define kernel_stat64	stat
+#define kernel_stat64	stat64
 
 #endif	/*  _BITS_STAT_STRUCT_H */