]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fincore: define HAVE_CACHESTAT on fallback
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Sun, 3 May 2026 00:02:03 +0000 (20:02 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Wed, 13 May 2026 21:23:08 +0000 (17:23 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
misc-utils/fincore.c

index b0c0d1f48eb641044e2208b2b9c47d6d77c4bb62..366aa6f3ca63a06c464474e0f8a67dcd48ce06cc 100644 (file)
@@ -77,6 +77,7 @@ static inline int cachestat(unsigned int fd,
        return syscall(SYS_cachestat, fd, cstat_range, cstat, flags);
 }
 
+#define HAVE_CACHESTAT 1
 #endif // HAVE_CACHESTAT
 
 struct colinfo {