diff options
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/common.h b/executor/common.h index 642b23102..05c759788 100644 --- a/executor/common.h +++ b/executor/common.h @@ -281,9 +281,9 @@ typedef struct { static void event_init(event_t* ev) { if (pthread_mutex_init(&ev->mu, 0)) - fail("pthread_mutex_init failed"); + exitf("pthread_mutex_init failed"); if (pthread_cond_init(&ev->cv, 0)) - fail("pthread_cond_init failed"); + exitf("pthread_cond_init failed"); ev->state = 0; } |
