Un-break the build on OSX following r11910.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11921 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_syswrap/syswrap-darwin.c b/coregrind/m_syswrap/syswrap-darwin.c
index eb68bc3..aa43e97 100644
--- a/coregrind/m_syswrap/syswrap-darwin.c
+++ b/coregrind/m_syswrap/syswrap-darwin.c
@@ -105,7 +105,7 @@
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 @@
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"