diff options
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fastd.c b/src/fastd.c index b6e7484..e63b204 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -537,8 +537,7 @@ static inline void init(int argc, char *argv[]) { VECTOR_ALLOC(ctx.async_pids, 0); #ifdef WITH_VERIFY - if (sem_init(&ctx.verify_limit, 0, VERIFY_LIMIT)) - exit_errno("sem_init"); + fastd_sem_init(&ctx.verify_limit, VERIFY_LIMIT); #endif if (pthread_attr_init(&ctx.detached_thread)) |