From d071f665295ee2ef0626072d8311e01b1102803f Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 24 Jan 2017 00:58:56 +0000 Subject: Rename pfind(9) into tfind(9) to reflect that it deals with threads. While here document prfind(9. with and ok guenther@ --- sys/kern/kern_sig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_sig.c') diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index b40eac85f90..e1b2113b197 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.207 2017/01/21 05:42:03 guenther Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.208 2017/01/24 00:58:55 mpi Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -617,7 +617,7 @@ sys_thrkill(struct proc *cp, void *v, register_t *retval) if (((u_int)signum) >= NSIG) return (EINVAL); if (tid > THREAD_PID_OFFSET) { - if ((p = pfind(tid - THREAD_PID_OFFSET)) == NULL) + if ((p = tfind(tid - THREAD_PID_OFFSET)) == NULL) return (ESRCH); /* can only kill threads in the same process */ -- cgit v1.2.3