summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common-generic
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2024-05-14 23:18:56 -0700
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-15 10:13:56 +0200
commit186878405324e96f61d896a149f623e0c792c972 (patch)
tree0446e8a7b992992be7e88a36138c1b36e84b227a /libc/sysdeps/linux/common-generic
parent7343bd6a49c5e3fe622f0bf473c124947d5e1210 (diff)
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>
Diffstat (limited to 'libc/sysdeps/linux/common-generic')
-rw-r--r--libc/sysdeps/linux/common-generic/bits/kernel_stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common-generic/bits/kernel_stat.h b/libc/sysdeps/linux/common-generic/bits/kernel_stat.h
index 7a97bb4d7..e874a4a9f 100644
--- a/libc/sysdeps/linux/common-generic/bits/kernel_stat.h
+++ b/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 */