From a0ce085c261a1d981bfa0acd4272b6ba77bfa3be Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 25 Dec 2024 16:21:13 +0100 Subject: [PATCH] fincore: Use correct syscall number for cachestat on alpha Fixes #3331, #3333 Signed-off-by: John Paul Adrian Glaubitz --- misc-utils/fincore.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misc-utils/fincore.c b/misc-utils/fincore.c index 513b811141..25ce5aa1ea 100644 --- a/misc-utils/fincore.c +++ b/misc-utils/fincore.c @@ -46,8 +46,12 @@ #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; -- 2.47.3