chiark / gitweb /
base/dispatch.c: Fix list-macro invocation if we have `getauxval'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 26 Jun 2016 11:14:32 +0000 (12:14 +0100)
Caused hopeless build failure on ARM versions of jessie.

base/dispatch.c

index 63649748ee5f1495c7e5024e8a844652de03968b..dfd0fbdaab7ac8c0a15df9b0bf3d2ae09cb59d62 100644 (file)
@@ -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