From: Julian Seward Date: Tue, 26 Jul 2011 23:02:10 +0000 (+0000) Subject: Un-break the build on OSX following r11910. X-Git-Tag: svn/VALGRIND_3_7_0~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cf71fb1ad81b879c9cff9499c470caeb337fdc3;p=thirdparty%2Fvalgrind.git Un-break the build on OSX following r11910. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11921 --- diff --git a/coregrind/m_syswrap/syswrap-darwin.c b/coregrind/m_syswrap/syswrap-darwin.c index eb68bc335c..aa43e97784 100644 --- a/coregrind/m_syswrap/syswrap-darwin.c +++ b/coregrind/m_syswrap/syswrap-darwin.c @@ -105,7 +105,7 @@ static VgSchedReturnCode thread_wrapper(Word /*ThreadId*/ tidW) tid, &tid); /* Make sure error reporting is enabled in the new thread. */ - ctst->err_disablement_level = 0; + tst->err_disablement_level = 0; VG_TRACK(pre_thread_first_insn, tid); @@ -234,7 +234,7 @@ static void run_a_thread_NORETURN ( Word tidW ) thread slot is safe in this respect if later reallocated. This should be unnecessary since the flag should be cleared when the slot is reallocated, in thread_wrapper(). */ - if (tst->disablement_level > 0) { + if (tst->err_disablement_level > 0) { VG_(umsg)( "WARNING: exiting thread has error reporting disabled.\n" "WARNING: possibly as a result of some mistake in the use\n"