diff options
| author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2014-05-26 11:12:44 +0200 |
|---|---|---|
| committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-05-26 11:12:44 +0200 |
| commit | f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3 (patch) | |
| tree | d513abf6584152cfe39d155ef63fa424558fe459 | |
| parent | 15eaf6ffe3e117684a0e7b070c0a8754480d3fa3 (diff) | |
| download | glibc-f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3.tar.xz glibc-f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3.zip | |
Fix typo in tst-mutex5 ifndef -> ifdef
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | nptl/tst-mutex5.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com> + + * nptl/tst-mutex5 (do_test): + Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef. + 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com> * benchtests/README: Document 'init' directive. diff --git a/nptl/tst-mutex5.c b/nptl/tst-mutex5.c index 14d3025814..a829272741 100644 --- a/nptl/tst-mutex5.c +++ b/nptl/tst-mutex5.c @@ -87,7 +87,7 @@ do_test (void) } /* Elided locks do not time out. */ -#ifdef ENABLE_LOCK_ELISION +#ifndef ENABLE_LOCK_ELISION if (pthread_mutex_trylock (&m) == 0) { puts ("mutex_trylock succeeded"); |
