diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2019-02-19 10:59:31 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2019-02-19 11:00:07 -0500 |
commit | 04de93022685bd19347c3ded5ac50b09e2037243 (patch) | |
tree | ccf2402daad60fbf467bc666f120d847d857a8e1 | |
parent | b026ce1ee92de325463535c15ab5575f21b23702 (diff) | |
download | glibc-04de93022685bd19347c3ded5ac50b09e2037243.zip glibc-04de93022685bd19347c3ded5ac50b09e2037243.tar.gz glibc-04de93022685bd19347c3ded5ac50b09e2037243.tar.bz2 |
nptl: Fix comment typo in pthread_mutex_trylock.c
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | nptl/pthread_mutex_trylock.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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. diff --git a/nptl/pthread_mutex_trylock.c b/nptl/pthread_mutex_trylock.c index bf2869e..3bba464 100644 --- a/nptl/pthread_mutex_trylock.c +++ b/nptl/pthread_mutex_trylock.c @@ -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. */ |