diff options
author | kib <kib@FreeBSD.org> | 2015-06-10 02:44:56 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-06-10 02:44:56 +0000 |
commit | bcf18ca2abe838198b7009aae0f14367abf7d1b3 (patch) | |
tree | caebdf010d57244d520ca619cd964ab58faaa332 | |
parent | 6cba2103485f7aa5a8eaa92c6e05530d8d83b627 (diff) | |
download | FreeBSD-src-bcf18ca2abe838198b7009aae0f14367abf7d1b3.zip FreeBSD-src-bcf18ca2abe838198b7009aae0f14367abf7d1b3.tar.gz |
Add chunk missed in the r284199.
-rw-r--r-- | sys/kern/kern_fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index bf58eaf..82e213b 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -475,6 +475,7 @@ do_fork(struct thread *td, int flags, struct proc *p2, struct thread *td2, bzero(&td2->td_startzero, __rangeof(struct thread, td_startzero, td_endzero)); + td2->td_su = NULL; bcopy(&td->td_startcopy, &td2->td_startcopy, __rangeof(struct thread, td_startcopy, td_endcopy)); |