aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index b52236769e0..db99f53299c 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1772,7 +1772,7 @@ stack_overflow (siginfo_t *siginfo)
1772 /* The known top and bottom of the stack. The actual stack may 1772 /* The known top and bottom of the stack. The actual stack may
1773 extend a bit beyond these boundaries. */ 1773 extend a bit beyond these boundaries. */
1774 char *bot = stack_bottom; 1774 char *bot = stack_bottom;
1775 char *top = near_C_stack_top (); 1775 char *top = current_thread->stack_top;
1776 1776
1777 /* Log base 2 of the stack heuristic ratio. This ratio is the size 1777 /* Log base 2 of the stack heuristic ratio. This ratio is the size
1778 of the known stack divided by the size of the guard area past the 1778 of the known stack divided by the size of the guard area past the