summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-19 20:21:12 +0000
committerIan Lynagh <igloo@earth.li>2009-08-19 20:21:12 +0000
commitc768955afb2e5580eb779104e3900d981013dbcc (patch)
tree9aadcbf89ee6ad8c513de03e107b536ea23c30e8 /rts
parent3a886477def20cfaaacb87a784917b5c6a3238b0 (diff)
downloadhaskell-c768955afb2e5580eb779104e3900d981013dbcc.tar.gz
Improve the "Stack space overflow" error; fixes trac #3296
Diffstat (limited to 'rts')
-rw-r--r--rts/hooks/StackOverflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/hooks/StackOverflow.c b/rts/hooks/StackOverflow.c
index 0a1a23a65b..4313702a84 100644
--- a/rts/hooks/StackOverflow.c
+++ b/rts/hooks/StackOverflow.c
@@ -12,6 +12,6 @@
void
StackOverflowHook (lnat stack_size) /* in bytes */
{
- fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size);
+ fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize -RTS' to increase it.\n", stack_size);
}