summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 630069b..3159a91 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -282,7 +282,7 @@ thr_exit(struct thread *td, struct thr_exit_args *uap)
}
PROC_LOCK(p);
- sigqueue_flush(&td->td_sigqueue);
+ tdsigcleanup(td);
PROC_SLOCK(p);
/*
OpenPOWER on IntegriCloud