From c67ddc21e7bbde04a957b369793860f270c721c2 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Thu, 15 Nov 2007 06:35:26 +0000 Subject: This time REALLY copy the name from the proc to the thread as a default. --- sys/kern/kern_thread.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/kern/kern_thread.c') diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 7fdfa20c443c..7ff40eb3cb62 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -232,7 +232,6 @@ proc_linkup(struct proc *p, struct thread *td) /* XXX p_ksi may be null if ksiginfo zone is not ready */ p->p_ksi->ksi_flags = KSI_EXT | KSI_INS; } - bcopy(p->p_comm, td->td_name, sizeof(td->td_name)); LIST_INIT(&p->p_mqnotifier); p->p_numthreads = 0; thread_link(td, p); -- cgit v1.2.3