]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
drd/tests/tsan_thread_wrappers_pthread.h: Fix MyThread::ThreadBody()
authorBart Van Assche <bvanassche@acm.org>
Thu, 20 Dec 2018 02:13:14 +0000 (18:13 -0800)
committerBart Van Assche <bvanassche@acm.org>
Thu, 20 Dec 2018 02:13:31 +0000 (18:13 -0800)
See also https://bugs.kde.org/show_bug.cgi?id=402341.

drd/tests/tsan_thread_wrappers_pthread.h

index bdca574e9743467b943c9b223cbe02e66ba485ab..878d440e7564bc00019f515d1e14917aa7515036 100644 (file)
@@ -368,7 +368,7 @@ class MyThread {
     }
     if (my_thread->wpvpv_)
       return my_thread->wpvpv_(my_thread->arg_);
-    if (my_thread->wpvpv_)
+    if (my_thread->wvpv_)
       my_thread->wvpv_(my_thread->arg_);
     if (my_thread->wvv_)
       my_thread->wvv_();