]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fincore: Use correct syscall number for cachestat on alpha
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Wed, 25 Dec 2024 15:21:13 +0000 (16:21 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Wed, 25 Dec 2024 15:21:13 +0000 (16:21 +0100)
Fixes #3331, #3333

Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
misc-utils/fincore.c

index 513b8111410e09c4d01a852acdb5b5536ff670bb..25ce5aa1ea1e285d29d97b68ed749bdf66a90c8d 100644 (file)
 #ifndef HAVE_CACHESTAT
 
 #ifndef SYS_cachestat
+#if defined (__alpha__)
+#define SYS_cachestat 561
+#else
 #define SYS_cachestat 451
 #endif
+#endif
 
 struct cachestat_range {
        uint64_t off;