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.40.3~22 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=3f0323db6583469d0fc7222dd57ee4eca16a8553;p=thirdparty%2Futil-linux.git fincore: Use correct syscall number for cachestat on alpha Fixes #3331, #3333 Signed-off-by: John Paul Adrian Glaubitz (cherry picked from commit a0ce085c261a1d981bfa0acd4272b6ba77bfa3be) --- 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;