mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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
|
||||
= {
|
||||
|
Reference in New Issue
Block a user