summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_sig.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2000-11-14 20:00:19 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2000-11-14 20:00:19 +0000
commiteb4463fde63561149e643ee41e628f39ae4937e0 (patch)
treec790d28d618d13dec634f12a032747e5a827e911 /lib/libpthread/thread/thr_sig.c
parentfa167b8eaaf71290da0299e6320d4d4b6c85177b (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
-rw-r--r--lib/libpthread/thread/thr_sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c
index 3bcd9c1360b1..3ac974036c55 100644
--- a/lib/libpthread/thread/thr_sig.c
+++ b/lib/libpthread/thread/thr_sig.c
@@ -1066,7 +1066,7 @@ thread_sigframe_add(pthread_t thread, int sig, int has_args)
/*
* Set up the context:
*/
- stackp += sizeof(double);
+ stackp -= sizeof(double);
_setjmp(thread->ctx.jb);
SET_STACK_JB(thread->ctx.jb, stackp);
SET_RETURN_ADDR_JB(thread->ctx.jb, _thread_sig_wrapper);