diff options
Diffstat (limited to 'lib/libpthread/arch/m68k/uthread_machdep.h')
-rw-r--r-- | lib/libpthread/arch/m68k/uthread_machdep.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/arch/m68k/uthread_machdep.h b/lib/libpthread/arch/m68k/uthread_machdep.h index 4ed702981b5..8bda374924d 100644 --- a/lib/libpthread/arch/m68k/uthread_machdep.h +++ b/lib/libpthread/arch/m68k/uthread_machdep.h @@ -1,7 +1,7 @@ /* * OpenBSD/m68k machine-dependent thread macros * - * $OpenBSD: uthread_machdep.h,v 1.2 1999/01/17 23:49:49 d Exp $ + * $OpenBSD: uthread_machdep.h,v 1.3 1999/11/25 07:01:28 d Exp $ */ /* save the floating point state of a thread */ @@ -23,8 +23,8 @@ /* entry */ \ (thr)->saved_jmp_buf[5] = (long) entry; \ /* stack */ \ - (thr)->saved_jmp_buf[2] = (long) (thr)->stack \ - + (pattr)->stacksize_attr \ + (thr)->saved_jmp_buf[2] = (long) (thr)->stack->base \ + + (thr)->stack->size \ - sizeof(double); \ } |