aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 8408e38085..40dcf8060e 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -454,7 +454,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
}
else
{
- n = 1 << cnt;
+ n = 1 << (cnt - 1);
do
{
n -= 2;