nptl: Fix comment typo in pthread_mutex_trylock.c
authorWolfram Sang <wsa@the-dreams.de>
Tue, 19 Feb 2019 15:59:31 +0000 (10:59 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Tue, 19 Feb 2019 16:00:07 +0000 (11:00 -0500)
ChangeLog
nptl/pthread_mutex_trylock.c

index 95765b8..bc6adaa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-19  Wolfram Sang  <wsa@the-dreams.de>
+
+       * nptl/pthread_mutex_trylock.c: Fix comment.
+
 2019-02-19  Carlos O'Donell  <carlos@redhat.com>
 
        * nptl/pthread_tryjoin.c: Fix comment.
index bf2869e..3bba464 100644 (file)
@@ -130,7 +130,7 @@ __pthread_mutex_trylock (pthread_mutex_t *mutex)
              __asm ("" ::: "memory");
              THREAD_SETMEM (THREAD_SELF, robust_head.list_op_pending, NULL);
 
-             /* Note that we deliberately exist here.  If we fall
+             /* Note that we deliberately exit here.  If we fall
                 through to the end of the function __nusers would be
                 incremented which is not correct because the old
                 owner has to be discounted.  */