summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-12-11 02:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-12-11 02:00:00 +0000
commit14ef9c185b79f55f8221a29accd8d3326367102a (patch)
tree6ce66c4fe96312eea50c0b0aa4107405e0268aca /string
parent720480934ab9107714f1ffc29222dfb5d3bc5b1d (diff)
downloadglibc-14ef9c185b79f55f8221a29accd8d3326367102a.tar.gz
glibc-14ef9c185b79f55f8221a29accd8d3326367102a.tar.xz
glibc-14ef9c185b79f55f8221a29accd8d3326367102a.zip
treewide: fix incorrect spelling of indices in comments
Replace 'indeces' with 'indices', the most annoying of these typos were
those found in elf.h which is a public header file copied to other
projects.
Diffstat (limited to 'string')
-rw-r--r--string/strxfrm_l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strxfrm_l.c b/string/strxfrm_l.c
index 530a8d388d..96a7ef2d36 100644
--- a/string/strxfrm_l.c
+++ b/string/strxfrm_l.c
@@ -708,7 +708,7 @@ STRXFRM (STRING_TYPE *dest, const STRING_TYPE *src, size_t n, locale_t l)
   assert (((uintptr_t) l_data.indirect) % __alignof__ (l_data.indirect[0]) == 0);
 
   /* We need the elements of the string as unsigned values since they
-     are used as indeces.  */
+     are used as indices.  */
   const USTRING_TYPE *usrc = (const USTRING_TYPE *) src;
 
   /* Allocate cache for small strings on the stack and fill it with weight and