From: John Paul Adrian Glaubitz Date: Wed, 25 Dec 2024 15:21:13 +0000 (+0100) Subject: fincore: Use correct syscall number for cachestat on alpha X-Git-Tag: v2.42-start~113^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0ce085c261a1d981bfa0acd4272b6ba77bfa3be;p=thirdparty%2Futil-linux.git fincore: Use correct syscall number for cachestat on alpha Fixes #3331, #3333 Signed-off-by: John Paul Adrian Glaubitz --- diff --git a/misc-utils/fincore.c b/misc-utils/fincore.c index 513b81114..25ce5aa1e 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;