about summary refs log tree commit diff
path: root/nptl_db
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 /nptl_db
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 'nptl_db')
-rw-r--r--nptl_db/td_thr_tsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl_db/td_thr_tsd.c b/nptl_db/td_thr_tsd.c
index 4c9c45e055..f1b4684ba9 100644
--- a/nptl_db/td_thr_tsd.c
+++ b/nptl_db/td_thr_tsd.c
@@ -48,7 +48,7 @@ td_thr_tsd (const td_thrhandle_t *th, const thread_key_t tk, void **data)
   if (err != TD_OK)
     return err;
 
-  /* Compute the indeces.  */
+  /* Compute the indices.  */
   pthread_key_2ndlevel_size
     = DB_DESC_NELEM (th->th_ta_p->ta_field_pthread_key_data_level2_data);
   idx1st = tk / pthread_key_2ndlevel_size;