[libc-commits] [libc] [libc] Fix statvfs test case when SYS_statfs64 is used (PR #99827)

via libc-commits libc-commits at lists.llvm.org
Sun Jul 21 16:04:51 PDT 2024


================
@@ -9,10 +9,16 @@
 #include <linux/magic.h>
 using namespace LIBC_NAMESPACE::testing::ErrnoSetterMatcher;
 
+#ifdef SYS_statfs64
+using statFs = struct statfs64;
----------------
lntue wrote:

nit: `struct`'s are redundant.

https://github.com/llvm/llvm-project/pull/99827


More information about the libc-commits mailing list