]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin: Fix a copy/paste error that was introduced in r12458
authorBart Van Assche <bvanassche@acm.org>
Mon, 26 Mar 2012 18:13:29 +0000 (18:13 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 26 Mar 2012 18:13:29 +0000 (18:13 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12459

coregrind/m_syswrap/syswrap-darwin.c

index a6db2398377eea04b32bd8b516ba4bd749c2173b..dbafe47589f3b478e013abb80dbabfc0db980572 100644 (file)
@@ -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 );
 }