nptl: Fix typo

Message ID 20210102115737.297-1-6812skiii@gmail.com
State Committed
Commit c50c65a8bf81753c09d60ee07e02016607d1abf2
Delegated to: Arjun Shankar
Headers
Series nptl: Fix typo |

Commit Message

Jangwoong Kim Jan. 2, 2021, 11:57 a.m. UTC
  This commit fixes a typo.
---
 nptl/pthread_cond_wait.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Arjun Shankar Jan. 4, 2021, 9:20 p.m. UTC | #1
> --- a/nptl/pthread_cond_wait.c
> +++ b/nptl/pthread_cond_wait.c
> @@ -81,7 +81,7 @@ __condvar_cancel_waiting (pthread_cond_t *cond, uint64_t
> seq, unsigned int g,
>  {
>    bool consumed_signal = false;
>  
> -  /* No deadlock with group switching is possible here because we have do
> +  /* No deadlock with group switching is possible here because we do
>       not hold a reference on the group.  */
>    __condvar_acquire_lock (cond, private);

Thanks for the patch!

I'm going to apply it to master right away since it's an obvious typo:


Cheers,
Arjun
  

Patch

diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c
index 02d11c61db..18388b8b0a 100644
--- a/nptl/pthread_cond_wait.c
+++ b/nptl/pthread_cond_wait.c
@@ -81,7 +81,7 @@  __condvar_cancel_waiting (pthread_cond_t *cond, uint64_t seq, unsigned int g,
 {
   bool consumed_signal = false;
 
-  /* No deadlock with group switching is possible here because we have do
+  /* No deadlock with group switching is possible here because we do
      not hold a reference on the group.  */
   __condvar_acquire_lock (cond, private);