diff options
author | peter <peter@FreeBSD.org> | 2002-02-07 22:28:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-02-07 22:28:24 +0000 |
commit | 5a17526c2073b65046bf878e938353e29064376e (patch) | |
tree | 80ee25ecb9cddc5a850fc76342d55442c1d2822c /sys/alpha/linux | |
parent | a2e9d206a5a42375d59a24590dbcf8c451fc9f63 (diff) | |
download | FreeBSD-src-5a17526c2073b65046bf878e938353e29064376e.zip FreeBSD-src-5a17526c2073b65046bf878e938353e29064376e.tar.gz |
Fix long line added in previous commit.
Diffstat (limited to 'sys/alpha/linux')
-rw-r--r-- | sys/alpha/linux/linux_machdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/linux/linux_machdep.c b/sys/alpha/linux/linux_machdep.c index 97674f5..12a2160 100644 --- a/sys/alpha/linux/linux_machdep.c +++ b/sys/alpha/linux/linux_machdep.c @@ -127,6 +127,7 @@ linux_clone(struct thread *td, struct linux_clone_args *args) { int error, ff = RFPROC | RFSTOPPED; struct proc *p2; + struct thread *td; int exit_signal; vm_offset_t start; @@ -166,7 +167,8 @@ linux_clone(struct thread *td, struct linux_clone_args *args) PROC_LOCK(p2); p2->p_sigparent = exit_signal; PROC_UNLOCK(p2); - FIRST_THREAD_IN_PROC(p2)->td_pcb->pcb_hw.apcb_usp = (unsigned long)args->stack; + td = FIRST_THREAD_IN_PROC(p2); + td->td_pcb->pcb_hw.apcb_usp = (unsigned long)args->stack; #ifdef DEBUG if (ldebug(clone)) |