From 8cf71fb1ad81b879c9cff9499c470caeb337fdc3 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 26 Jul 2011 23:02:10 +0000 Subject: [PATCH] Un-break the build on OSX following r11910. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11921 --- coregrind/m_syswrap/syswrap-darwin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.47.2