aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 85c812f..6d93f8e 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -49,7 +49,7 @@ static void
pthread_join(clist->mtid, NULL);
}
i = -1;
- while (++i < 16)
+ while (++i < FT_TOTAL_SFX)
{
pthread_mutex_unlock(&clist->sfx[i].mutex);
pthread_cancel(clist->sfx[i].tid);