]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typo in tst-mutex5 ifndef -> ifdef
authorStefan Liebler <stli@linux.vnet.ibm.com>
Mon, 26 May 2014 09:12:44 +0000 (11:12 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 26 May 2014 09:12:44 +0000 (11:12 +0200)
ChangeLog
nptl/tst-mutex5.c

index 027464d319099b90ace0006f4df9067a7ecff36b..e988e2b33c89c1e8eaa14305606df4ccaac8a016 100644 (file)
--- 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.
index 14d302581418d17431c5dcb0cd2d723769fc0b89..a82927274190adee64fe66335d6b0c145b6fd70b 100644 (file)
@@ -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");