From cd46104cf81aef14f9554bb4d9bced534a121471 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 14 May 2014 10:58:58 -0700 Subject: [PATCH] Fix a typo in the big g_ search/replace. Change-Id: I79261de70d225236d0eadff288220258d697437f --- libc/bionic/pthread_create.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/bionic/pthread_create.cpp b/libc/bionic/pthread_create.cpp index 2afb651fb..303af8193 100644 --- a/libc/bionic/pthread_create.cpp +++ b/libc/bionic/pthread_create.cpp @@ -52,7 +52,7 @@ extern "C" __attribute__((noinline)) void _thread_created_hook(pid_t) {} extern "C" __LIBC_HIDDEN__ void __init_user_desc(struct user_desc*, int, void*); #endif -static pthread_mutex_t g_pthread_stack_creation_ock = PTHREAD_MUTEX_INITIALIZER; +static pthread_mutex_t g_pthread_stack_creation_lock = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t g_debugger_notification_lock = PTHREAD_MUTEX_INITIALIZER; @@ -111,7 +111,7 @@ int __init_thread(pthread_internal_t* thread, bool add_to_thread_list) { } static void* __create_thread_stack(pthread_internal_t* thread) { - ScopedPthreadMutexLocker lock(&g_pthread_stack_creation_ock); + ScopedPthreadMutexLocker lock(&g_pthread_stack_creation_lock); // Create a new private anonymous map. int prot = PROT_READ | PROT_WRITE;