summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-01-24 00:58:56 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-01-24 00:58:56 +0000
commitd071f665295ee2ef0626072d8311e01b1102803f (patch)
treebe05cd1920cccda5749ebc349bb5d810c2dd42f6 /sys/arch/sparc64
parent0ec985aaf0fb250ec3531dee93ea4bb29038ed19 (diff)
Rename pfind(9) into tfind(9) to reflect that it deals with threads.
While here document prfind(9. with and ok guenther@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/db_trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/db_trace.c b/sys/arch/sparc64/sparc64/db_trace.c
index 0aaaec3a3fc..aba94187a59 100644
--- a/sys/arch/sparc64/sparc64/db_trace.c
+++ b/sys/arch/sparc64/sparc64/db_trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trace.c,v 1.12 2016/09/11 03:14:04 guenther Exp $ */
+/* $OpenBSD: db_trace.c,v 1.13 2017/01/24 00:58:55 mpi Exp $ */
/* $NetBSD: db_trace.c,v 1.23 2001/07/10 06:06:16 eeh Exp $ */
/*
@@ -78,7 +78,7 @@ db_stack_trace_print(db_expr_t addr, int have_addr, db_expr_t count,
struct proc *p;
struct user *u;
(*pr)("trace: pid %d ", (int)addr);
- p = pfind(addr);
+ p = tfind(addr);
if (p == NULL) {
(*pr)("not found\n");
return;