~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base/dispatch.c: Fix list-macro invocation if we have `getauxval'.
[catacomb]
/
base
/
dispatch.c
diff --git
a/base/dispatch.c
b/base/dispatch.c
index
6364974
..
dfd0fbd
100644
(file)
--- 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.
*/
/* 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
WANTAUX(CAP__GET)
#else
/* Otherwise we're a bit stuck, really. Modern Linux kernels make a copy