[COMMITTED] pthread_key_create: Fix typo in comment

Message ID 55795D44.6050403@redhat.com
State Committed
Headers

Commit Message

Florian Weimer June 11, 2015, 10:04 a.m. UTC
  As attached.
  

Patch

From 1477b3830740b272e36187e85a7207a09833012b Mon Sep 17 00:00:00 2001
Message-Id: <1477b3830740b272e36187e85a7207a09833012b.1434016153.git.fweimer@redhat.com>
From: Florian Weimer <fweimer@redhat.com>
Date: Thu, 11 Jun 2015 11:48:01 +0200
Subject: [PATCH] pthread_key_create: Fix typo in comment
To: libc-alpha@sourceware.org

---
 ChangeLog                 | 5 +++++
 nptl/pthread_key_create.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 80afbb1..3089ce2 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 1268d43..a642c69 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;
-- 
2.4.2