summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2007-11-15 14:16:20 +0000
committerglebius <glebius@FreeBSD.org>2007-11-15 14:16:20 +0000
commit93fa6a684ab2a5f643ab5daf32f34e026d889b52 (patch)
treeaeec79d9c475e7e68749f7040c208eb3db8f6dd5 /sys
parent3925f424bc078eeb7ea440cb2d769c3c41f5409c (diff)
downloadFreeBSD-src-93fa6a684ab2a5f643ab5daf32f34e026d889b52.zip
FreeBSD-src-93fa6a684ab2a5f643ab5daf32f34e026d889b52.tar.gz
Fix build.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_kse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c
index a955fba..787aa49 100644
--- a/sys/kern/kern_kse.c
+++ b/sys/kern/kern_kse.c
@@ -1045,7 +1045,7 @@ thread_schedule_upcall(struct thread *td, struct kse_upcall *ku)
__rangeof(struct thread, td_startcopy, td_endcopy));
sched_fork_thread(td, td2);
thread_link(td2, ku->ku_proc);
- bcopy(ku->ku_comm, td2->td_name, sizeof(td2->td_name));
+ bcopy(ku->ku_proc->p_comm, td2->td_name, sizeof(td2->td_name));
/* inherit parts of blocked thread's context as a good template */
cpu_set_upcall(td2, td);
/* Let the new thread become owner of the upcall */
OpenPOWER on IntegriCloud