From ba416f24c6e198635d548363634eb332227fff19 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 26 Mar 2012 18:13:29 +0000 Subject: [PATCH] Darwin: Fix a copy/paste error that was introduced in r12458 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12459 --- coregrind/m_syswrap/syswrap-darwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.47.2