about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--nptl/pthread_key_create.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 80afbb18e3..3089ce236b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-11  Florian Weimer  <fweimer@redhat.com>
+
+	* nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
+	comment.
+
 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
 
 	[BZ #18479]
diff --git a/nptl/pthread_key_create.c b/nptl/pthread_key_create.c
index 1268d4359f..a642c6929f 100644
--- a/nptl/pthread_key_create.c
+++ b/nptl/pthread_key_create.c
@@ -26,7 +26,7 @@ __pthread_key_create (key, destr)
      pthread_key_t *key;
      void (*destr) (void *);
 {
-  /* Find a slot in __pthread_kyes which is unused.  */
+  /* Find a slot in __pthread_keys which is unused.  */
   for (size_t cnt = 0; cnt < PTHREAD_KEYS_MAX; ++cnt)
     {
       uintptr_t seq = __pthread_keys[cnt].seq;