From: Mark Wooding Date: Thu, 26 May 2016 08:26:09 +0000 (+0100) Subject: base/dispatch.c: Fix list-macro invocation if we have `getauxval'. X-Git-Tag: 2.2.4~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/84850eece73811804dec5e72357fe9e011560fa1 base/dispatch.c: Fix list-macro invocation if we have `getauxval'. Caused hopeless build failure on ARM versions of jessie. --- diff --git a/base/dispatch.c b/base/dispatch.c index 63649748..dfd0fbda 100644 --- a/base/dispatch.c +++ b/base/dispatch.c @@ -319,8 +319,8 @@ static void probe_hwcaps(void) /* Shiny new libc lets us request individual entry types. This is almost * too easy. */ -# define CAP__GET(type, slot, ubranch) \ - probed.slot.ubranch = (AUXUTYPE_##ubranch)getauxval(type); +# define CAP__GET(type, ubranch, slot) \ + probed.slot = (AUXUTYPE_##ubranch)getauxval(type); WANTAUX(CAP__GET) #else /* Otherwise we're a bit stuck, really. Modern Linux kernels make a copy