aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-24 22:26:36 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-05-24 22:26:37 +0530
commit6edbe546d6ac243a5e3c2610853f2da53f0507b4 (patch)
treeeb72f71caa86c1f96a621056336bddec3ad9678e /sysdeps/unix/sysv/linux/arm/dl-procinfo.c
parent9c450f6f6f0e2089b780d0510ae6153740fc7d1d (diff)
downloadglibc-6edbe546d6ac243a5e3c2610853f2da53f0507b4.zip
glibc-6edbe546d6ac243a5e3c2610853f2da53f0507b4.tar.gz
glibc-6edbe546d6ac243a5e3c2610853f2da53f0507b4.tar.bz2
arm: Fix typo in array count
I just noticed that the array count for the hwcap flags list in ARM is off by 10, i.e. 37 instead of 27. Following patch fixes this. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags): Fix array subscript. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT): Fix count.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/dl-procinfo.c')
-rw-r--r--sysdeps/unix/sysv/linux/arm/dl-procinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
index 2024694..15c45d0 100644
--- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
+++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c
@@ -46,7 +46,7 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_arm_cap_flags
#else
-PROCINFO_CLASS const char _dl_arm_cap_flags[37][10]
+PROCINFO_CLASS const char _dl_arm_cap_flags[27][10]
#endif
#ifndef PROCINFO_DECL
= {