diff --git a/src/wdt.c b/src/wdt.c index c42c4f7a0..f1aa3ec86 100644 --- a/src/wdt.c +++ b/src/wdt.c @@ -115,7 +115,7 @@ void wdt_handler(int sig, siginfo_t *si, void *arg) */ #ifdef USE_THREAD if (thr != tid) - pthread_kill(ha_thread_info[thr].pthread, sig); + ha_tkill(thr, sig); else #endif ha_panic();