diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2007-11-14 06:04:57 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2007-11-14 06:04:57 +0000 |
| commit | ca081fdbc5aa456250f138fa6fe1444553664721 (patch) | |
| tree | 758bc1fb5d158757da01c8475bb9d58b148ae836 /sys/kern/kern_thread.c | |
| parent | 502e39a873f50184ad7e891a909940f301809e88 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_thread.c')
| -rw-r--r-- | sys/kern/kern_thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index cde764f3d5d3..bf6dec27164a 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -232,6 +232,7 @@ 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); |
