diff options
author | julian <julian@FreeBSD.org> | 2007-11-15 06:35:26 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-11-15 06:35:26 +0000 |
commit | 303014d009404b005be7a5870571244816930918 (patch) | |
tree | 56317105e823672d845e6a3d675fd5e519bcc6ab /sys/kern/kern_thread.c | |
parent | 438aba4018d449571345608b046ee4ad77b7e43a (diff) | |
download | FreeBSD-src-303014d009404b005be7a5870571244816930918.zip FreeBSD-src-303014d009404b005be7a5870571244816930918.tar.gz |
This time REALLY copy the name from the proc to the thread as a default.
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 7fdfa20..7ff40eb 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); |