From: root Date: Sat, 27 Jul 2019 08:08:49 +0000 (-0700) Subject: bug fix X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3412212bcfbfdd5b40c740a46cb48e61a354e52c;p=c11tester.git bug fix --- diff --git a/threads.cc b/threads.cc index d17ddabc..b2ed54d5 100644 --- a/threads.cc +++ b/threads.cc @@ -245,7 +245,7 @@ int Thread::create_context() if (model != NULL) makecontext(&context, setup_context, 0); else - makecontext(&context, thread_startup, 0); + makecontext(&context, main_thread_startup, 0); #else makecontext(&context, thread_startup, 0); #endif