aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource')
-rw-r--r--pkg/csource/generated.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index 555e16ff7..39d81b833 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -263,9 +263,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;
}