From: Stefan Liebler Date: Mon, 26 May 2014 09:12:44 +0000 (+0200) Subject: Fix typo in tst-mutex5 ifndef -> ifdef X-Git-Tag: upstream/2.30~7435 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8bdf1f0b623f05a80cb23890f165cb0cf8bd8c3;p=external%2Fglibc.git Fix typo in tst-mutex5 ifndef -> ifdef --- diff --git a/ChangeLog b/ChangeLog index 027464d..e988e2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-05-26 Stefan Liebler + + * nptl/tst-mutex5 (do_test): + Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef. + 2014-05-26 Siddhesh Poyarekar * benchtests/README: Document 'init' directive. diff --git a/nptl/tst-mutex5.c b/nptl/tst-mutex5.c index 14d3025..a829272 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");