From: Bart Van Assche Date: Mon, 26 Mar 2012 18:13:29 +0000 (+0000) Subject: Darwin: Fix a copy/paste error that was introduced in r12458 X-Git-Tag: svn/VALGRIND_3_8_0~394 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba416f24c6e198635d548363634eb332227fff19;p=thirdparty%2Fvalgrind.git Darwin: Fix a copy/paste error that was introduced in r12458 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12459 --- diff --git a/coregrind/m_syswrap/syswrap-darwin.c b/coregrind/m_syswrap/syswrap-darwin.c index a6db239837..dbafe47589 100644 --- a/coregrind/m_syswrap/syswrap-darwin.c +++ b/coregrind/m_syswrap/syswrap-darwin.c @@ -6483,7 +6483,7 @@ POST(bsdthread_create) // should be in pthread_hijack instead, just before the call to // start_thread_NORETURN(), call_on_new_stack_0_1(), but we don't have the // parent tid value there... - vg_assert(VG_(owns_BigLock_LL)(ptid)); + vg_assert(VG_(owns_BigLock_LL)(tid)); VG_TRACK ( pre_thread_ll_create, tid, tst->tid ); }