pthread_key_create: Fix typo in comment

This commit is contained in:
Florian Weimer 2015-06-11 11:48:01 +02:00
parent 78ad175b30
commit 1477b38307
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
[BZ #18479] [BZ #18479]

View File

@ -26,7 +26,7 @@ __pthread_key_create (key, destr)
pthread_key_t *key; pthread_key_t *key;
void (*destr) (void *); 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) for (size_t cnt = 0; cnt < PTHREAD_KEYS_MAX; ++cnt)
{ {
uintptr_t seq = __pthread_keys[cnt].seq; uintptr_t seq = __pthread_keys[cnt].seq;