about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-05-26 11:12:44 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-05-26 11:12:44 +0200
commitf8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3 (patch)
treed513abf6584152cfe39d155ef63fa424558fe459
parent15eaf6ffe3e117684a0e7b070c0a8754480d3fa3 (diff)
downloadglibc-f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3.tar.gz
glibc-f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3.tar.xz
glibc-f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3.zip
Fix typo in tst-mutex5 ifndef -> ifdef
-rw-r--r--ChangeLog5
-rw-r--r--nptl/tst-mutex5.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 027464d319..e988e2b33c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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");